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: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:element>
</xsl:template>

View File

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