Tabs entfernt

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@188 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
mark 2006-04-22 13:36:06 +00:00
parent 83ca25206e
commit 6d48cdc203
2 changed files with 16 additions and 23 deletions

View File

@ -12,7 +12,9 @@
<xsl:template match="p"> <xsl:template match="p">
<xsl:element name="p"> <xsl:element name="p">
<xsl:attribute name="class"><xsl:value-of select="@class" /></xsl:attribute> <xsl:attribute name="class">
<xsl:value-of select="$css_classprefix"/><xsl:value-of select="@class"/>
</xsl:attribute>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:element> </xsl:element>
</xsl:template> </xsl:template>

View File

@ -3,10 +3,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="xsl"> exclude-result-prefixes="xsl">
<xsl:import href="../common.xsl" />
<xsl:variable name="css_classprefix">schedule</xsl:variable> <xsl:variable name="css_classprefix">schedule</xsl:variable>
<xsl:include href="../common.xsl" />
<xsl:output method="xml" <xsl:output method="xml"
version="1.0" version="1.0"
@ -14,13 +12,7 @@
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="DTD/xhtml1-strict.dtd" doctype-system="DTD/xhtml1-strict.dtd"
indent="yes"/> indent="yes"/>
<xsl:strip-space elements="p ul td"/> <xsl:strip-space elements="p ul td"/>
<xsl:template match="p">
<xsl:element name="p">
<xsl:attribute name="class">schedule</xsl:attribute>
</xsl:element>
</xsl:template>
<xsl:template match="/page"> <xsl:template match="/page">
<xsl:variable name="title"> <xsl:variable name="title">
@ -39,19 +31,19 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<xsl:call-template name="htmlhead"/> <xsl:call-template name="htmlhead"/>
<body> <body>
<img src="images/datenspuren.png" id="logo" width="118" height="117"
alt="Datenspuren" title="Datenspuren"/>
<xsl:call-template name="heading"> <xsl:call-template name="heading">
<xsl:with-param name="title" select="$title"/> <xsl:with-param name="title" select="$title"/>
</xsl:call-template> </xsl:call-template>
<div id="bodyText"> <div id="bodyText">
<xsl:apply-templates/> <xsl:apply-templates/>
</div> </div>
<xsl:call-template name="ending"/> <xsl:call-template name="ending"/>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
<!-- Parse XHTML schedule generated by Pentabarf[tm] --> <!-- Parse XHTML schedule generated by Pentabarf[tm] -->
<xsl:template match="/html"> <xsl:template match="/html">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"> <html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
@ -112,7 +104,7 @@
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:element> </xsl:element>
</xsl:template> </xsl:template>
<xsl:template match="td"> <xsl:template match="td">
<xsl:comment> <xsl:comment>
Count: <xsl:value-of select="count(../td[@class='room empty'])"/> Count: <xsl:value-of select="count(../td[@class='room empty'])"/>
Position: <xsl:value-of select="position()"/> Position: <xsl:value-of select="position()"/>
@ -180,7 +172,6 @@
</title> </title>
</head> </head>
</xsl:template> </xsl:template>
<xsl:template name="heading"> <xsl:template name="heading">
<div id="header"> <div id="header">
<h1>Datenspuren 2006</h1> <h1>Datenspuren 2006</h1>
@ -189,7 +180,7 @@
<div class="leftSideBar"> <div class="leftSideBar">
<div class="sideBarTitle">Termin</div> <div class="sideBarTitle">Termin</div>
<span> <span>
Sonnabend &amp; Sonntag,<br /> Samstag &amp; Sonntag,<br />
13. &amp; 14. Mai 2006<br /> 13. &amp; 14. Mai 2006<br />
<br /> <br />
</span> </span>
@ -199,18 +190,17 @@
<span> <span>
Alaunstr. 36-40<br /> Alaunstr. 36-40<br />
01099 Dresden<br /> 01099 Dresden<br />
<a href="ort.html">mehr...</a> <a href="veranstaltungsort.html">[mehr...]</a>
<br /> <br />
</span> </span>
<div class="sideBarTitle">Symposium</div> <div class="sideBarTitle">Symposium</div>
<a href="index.html">Home</a> <a href="index.html">Home</a>
<a href="info.html">Info</a> <a href="info.html">Info</a>
<a href="vortraege.html">Vorträge</a> <a href="vortraege.html">Vorträge</a>
<a href="presse.html">Presse</a>
<a href="cfp.html">Call for Papers</a> <a href="cfp.html">Call for Papers</a>
<a href="mitschnitte.html">Mitschnitte</a> <a href="mitschnitte.html">Mitschnitte</a>
<!--a href="uebernachtung.html">Übernachtung</a> <!--<a href="flyer_ds_2005.pdf">Flyer</a-->
<a href="sonstiges.html">Sonstiges</a>
<a href="flyer_ds_2005.pdf">Flyer</a-->
<br /> <br />
<br /> <br />
@ -228,4 +218,5 @@
<a href="mailto:datenspuren@cccv.de" title="eMail webmaster">datenspuren@cccv.de</a></div> <a href="mailto:datenspuren@cccv.de" title="eMail webmaster">datenspuren@cccv.de</a></div>
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>