2006-01-06 18:59:33 +01:00
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version= "1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="xsl">
2006-04-22 16:41:55 +02:00
<!-- <xsl:variable name="css_classprefix">schedule</xsl:variable> -->
2006-04-22 15:36:06 +02:00
<xsl:include href= "../common.xsl" />
2006-01-06 19:55:19 +01:00
2006-01-06 18:59:33 +01:00
<xsl:output method= "xml"
version="1.0"
encoding="utf-8"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="DTD/xhtml1-strict.dtd"
indent="yes"/>
2006-04-22 15:36:06 +02:00
<xsl:strip-space elements= "p ul td" />
2006-04-22 00:40:06 +02:00
2006-01-06 18:59:33 +01:00
<xsl:template match= "/page" >
2006-01-14 19:41:48 +01:00
<xsl:variable name= "title" >
<xsl:choose >
<xsl:when test= "/page/@pagetitle" >
<xsl:value-of select= "/page/@pagetitle" />
</xsl:when>
<xsl:when test= "/page/@title" >
<xsl:value-of select= "/page/@title" />
</xsl:when>
<xsl:otherwise >
<xsl:comment > <xsl:text > missing title </xsl:text> </xsl:comment>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
2006-01-06 18:59:33 +01:00
<html xmlns= "http://www.w3.org/1999/xhtml" lang= "de" xml:lang= "de" >
2006-04-22 00:40:03 +02:00
<xsl:call-template name= "htmlhead" />
2006-01-06 18:59:33 +01:00
<body >
2006-04-22 15:36:06 +02:00
<img src= "images/datenspuren.png" id= "logo" width= "118" height= "117"
alt="Datenspuren" title="Datenspuren"/>
2006-04-22 00:40:03 +02:00
<xsl:call-template name= "heading" >
2006-04-22 15:36:06 +02:00
<xsl:with-param name= "title" select= "$title" />
</xsl:call-template>
2006-01-06 18:59:33 +01:00
<div id= "bodyText" >
<xsl:apply-templates />
</div>
2006-04-22 15:36:06 +02:00
<xsl:call-template name= "ending" />
2006-04-22 00:40:03 +02:00
</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" >
<xsl:call-template name= "htmlhead" />
<body >
<xsl:call-template name= "heading" >
<xsl:with-param name= "title" select= "'Programm'" />
</xsl:call-template>
<div id= "bodyText" >
<xsl:for-each select= "body/div/div/table" >
<table class= "schedule" >
<xsl:apply-templates />
</table>
</xsl:for-each>
</div>
<xsl:call-template name= "ending" />
2006-01-06 18:59:33 +01:00
</body>
</html>
</xsl:template>
2006-04-22 00:40:03 +02:00
<xsl:template match= "table" >
<xsl:element name= "table" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- <xsl:value - of select="$css_classprefix"/> --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match= "thead" >
<xsl:element name= "thead" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- <xsl:value - of select="$css_classprefix"/> --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match= "tr" >
<xsl:element name= "tr" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- xsl:value - of select="$css_classprefix" --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match= "th" >
<xsl:element name= "th" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- xsl:value - of select="$css_classprefix" --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match= "td" >
<xsl:element name= "td" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- xsl:value - of select="$css_classprefix" --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
2006-04-22 15:36:06 +02:00
<xsl:template match= "td" >
2006-04-22 00:40:03 +02:00
<xsl:comment >
Count: <xsl:value-of select= "count(../td[@class='room empty'])" />
Position: <xsl:value-of select= "position()" />
</xsl:comment>
<xsl:choose >
<xsl:when test= "(count(../td[@class='room empty'])=2 or count(../td)=2) and position()=4" >
<td class= "scheduleempty" colspan= "2" >
<xsl:text > </xsl:text>
</td>
</xsl:when>
<xsl:when test= "count(../td[@class='room empty'])=2 and position()=6" />
<xsl:otherwise >
<xsl:element name= "td" >
<xsl:attribute name= "class" >
<xsl:choose >
<xsl:when test= "@class='time'" > scheduletime</xsl:when>
<xsl:when test= "@class='room empty'" > scheduleempty</xsl:when>
<xsl:otherwise > scheduleroom</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:choose >
<xsl:when test= "@class='time'" > <xsl:value-of select= "." /> </xsl:when>
<xsl:when test= "@class='room empty'" > <xsl:text > </xsl:text> </xsl:when>
<xsl:otherwise >
<a class= "scheduletitle" >
<xsl:attribute name= "href" > http://www.pentabarf.org/ds2006<xsl:value-of select= "p[@class='title']/a/@href" /> </xsl:attribute>
<xsl:value-of select= "p[@class='title']/a" />
</a>
<span class= "schedulespeakers" >
<xsl:value-of select= "ul/li/a" />
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match= "tbody" >
<xsl:element name= "tbody" >
<xsl:attribute name= "class" >
2006-04-22 16:41:55 +02:00
<!-- xsl:value - of select="$css_classprefix" --> <xsl:value-of select= "@class" />
2006-04-22 00:40:03 +02:00
</xsl:attribute>
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match= "ul" >
<xsl:apply-templates />
</xsl:template>
<xsl:template name= "htmlhead" >
<xsl:param name= "title" />
<head >
<meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" />
<meta name= "description" content= "Symposium Datenspuren - Privatsphäre war gestern, 08.05.2005, Kulturzentrum Scheune, veranstaltet vom Chaos Computer Club Dresden" />
<meta name= "keywords" content= "Symposium Datenspuren,c3d2,Chaos Computer Club,CCC,Dresden,Datenschutz,Privatsphäre,Anonymität,informationelle Selbstbestimmung,Überwachung,Data Mining,ETSI,RFID,Mautsystem,Remailer,TCPA,TCG" />
<meta name= "robots" content= "index,follow" />
<meta name= "language" content= "German" />
<link rel= "stylesheet" type= "text/css" href= "style/style.css" />
<link rel= "stylesheet" type= "text/css" href= "style/schedule.css" />
<title >
<xsl:text > Datenspuren 2006 - </xsl:text>
<xsl:value-of select= "$title" />
</title>
</head>
</xsl:template>
<xsl:template name= "heading" >
<div id= "header" >
<h1 > Datenspuren 2006</h1>
<h2 > Privatsphäre war gestern</h2>
</div>
<div class= "leftSideBar" >
<div class= "sideBarTitle" > Termin</div>
<span >
2006-04-22 15:36:06 +02:00
Samstag & Sonntag,<br />
2006-04-22 00:40:03 +02:00
13. & 14. Mai 2006<br />
<br />
</span>
<div class= "sideBarTitle" > Ort</div>
<a href= "http://www.scheune.org/" > Kulturzentrum Scheune</a>
<span >
Alaunstr. 36-40<br />
01099 Dresden<br />
2006-04-22 15:36:06 +02:00
<a href= "veranstaltungsort.html" > [mehr...]</a>
2006-04-22 00:40:03 +02:00
<br />
</span>
<div class= "sideBarTitle" > Symposium</div>
2006-04-22 13:54:30 +02:00
<a href= "index.html" > Home</a>
<a href= "info.html" > Info</a>
<a href= "vortraege.html" > Vorträge</a>
2006-04-22 15:36:06 +02:00
<a href= "presse.html" > Presse</a>
2006-04-22 00:40:03 +02:00
<a href= "cfp.html" > Call for Papers</a>
<a href= "mitschnitte.html" > Mitschnitte</a>
2006-04-22 15:36:06 +02:00
<!-- <a href="flyer_ds_2005.pdf">Flyer</a -->
2006-04-22 00:40:03 +02:00
<br />
<br />
2006-04-27 21:57:23 +02:00
<!-- <a href="http://datenspuren.dresden.ccc.de/2004/">2004</a>
<a href= "http://datenspuren.dresden.ccc.de/2005/" > 2005</a>
<br /> -->
2006-04-22 00:40:03 +02:00
</div>
</xsl:template>
<xsl:template name= "ending" >
<div id= "footer" >
<div >
Copyleft 2006, <a href= "http://dresden.ccc.de/" > Chaos Computer Club Dresden</a> |
<a href= "mailto:datenspuren@cccv.de" title= "eMail webmaster" > datenspuren@cccv.de</a> </div>
</div>
</xsl:template>
2006-04-22 15:36:06 +02:00
2006-01-06 18:59:33 +01:00
</xsl:stylesheet>