2019-05-07 09:16:44 +02:00
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
|
|
<xsl:output omit-xml-declaration="yes"/>
|
|
|
|
|
|
|
|
<xsl:template match="/schleudern">
|
|
|
|
<xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"><head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
|
<title>Die Datenschleuder :: Download</title>
|
|
|
|
<meta name="robots" content="index,follow" />
|
|
|
|
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
|
|
|
|
<link rel="alternate" type="application/rss+xml" title="Datenschleuder als RSS-Feed abonnieren" href="/ds-feed.xml" />
|
|
|
|
<meta name="dc.publisher" content="Chaos Computer Club" />
|
|
|
|
<link rel="bookmark" href="http://www.ccc.de/" title="Chaos Computer Club" type="text/html" />
|
|
|
|
<link rel="bookmark" href="http://chaosradio.ccc.de/" title="Chaosradio" type="text/html" />
|
|
|
|
<link rel="bookmark" href="http://events.ccc.de/" title="CCC Events Weblog" type="text/html" />
|
|
|
|
<!--[if IE]><link rel="stylesheet" type="text/css" href="/ie/ie7-server.css"><![endif]-->
|
2019-06-13 13:11:04 +02:00
|
|
|
<style type="text/css" media="screen,projection"> @import "style.css"; .icons { width: 16px; } .schleuder { overflow: hidden; } </style>
|
2019-05-07 09:16:44 +02:00
|
|
|
</head><body>
|
|
|
|
<xsl:element name="div">
|
|
|
|
<a name="top"/><img src="i/ds_headline.gif" alt="Die Datenschleuder"/><br/>
|
|
|
|
<img src="i/ds_subline.gif" alt="Das wissenschaftliche Fachblatt für Datenreisende - Ein Organ des Chaos Computer Club" /></xsl:element>
|
|
|
|
|
2019-06-13 13:13:07 +02:00
|
|
|
<p><a href="index.html">Die Datenschleuder</a> | Download | <a href="/contact.html">Kontakt</a> | <a href="/imprint.html">Impressum</a> | <a href="/order.html">Bestellen</a></p>
|
2019-05-07 09:16:44 +02:00
|
|
|
<xsl:element name="div">
|
|
|
|
<xsl:attribute name="id">schleudern</xsl:attribute>
|
|
|
|
<xsl:attribute name="class">schleudern</xsl:attribute>
|
2019-06-13 03:59:47 +02:00
|
|
|
<xsl:for-each select="schleuder">
|
|
|
|
<xsl:variable name="id">
|
|
|
|
<xsl:value-of select="@id"/>
|
|
|
|
</xsl:variable>
|
|
|
|
<xsl:variable name="alt"><xsl:value-of select="concat('ds',$id)"/></xsl:variable>
|
|
|
|
<xsl:variable name="link">
|
|
|
|
<xsl:value-of select="link"/>
|
|
|
|
</xsl:variable>
|
|
|
|
<xsl:variable name="type">
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="substring($link, string-length($link) - 3) = 'html'">html</xsl:when>
|
|
|
|
<xsl:when test="substring($link, string-length($link) - 2) = 'pdf'">pdf</xsl:when>
|
|
|
|
<xsl:otherwise>unknown</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
2019-05-07 09:16:44 +02:00
|
|
|
<xsl:element name="div">
|
2019-06-13 03:59:47 +02:00
|
|
|
<xsl:attribute name="class">schleuder</xsl:attribute>
|
|
|
|
<xsl:attribute name="id">ds<xsl:value-of select="$id"/></xsl:attribute>
|
|
|
|
<xsl:element name="div">
|
|
|
|
<xsl:attribute name="class">schleudercover</xsl:attribute>
|
|
|
|
<xsl:element name="a">
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
|
|
|
|
<xsl:element name="img">
|
|
|
|
<xsl:attribute name="src"><xsl:value-of select="image"/></xsl:attribute>
|
|
|
|
<xsl:attribute name="alt"><xsl:value-of select="$alt"/></xsl:attribute>
|
2019-06-13 13:09:02 +02:00
|
|
|
<xsl:attribute name="height">93</xsl:attribute>
|
2019-06-13 03:59:47 +02:00
|
|
|
</xsl:element>
|
2019-05-07 09:16:44 +02:00
|
|
|
</xsl:element>
|
2019-06-13 03:59:47 +02:00
|
|
|
</xsl:element><xsl:value-of select="concat(@id,' ')"/>
|
|
|
|
<xsl:for-each select="link">
|
|
|
|
<xsl:call-template name="anchorlink">
|
|
|
|
<xsl:with-param name="linkdata" select="." />
|
|
|
|
</xsl:call-template>
|
|
|
|
</xsl:for-each>
|
|
|
|
</xsl:element>
|
2019-05-07 09:16:44 +02:00
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
<xsl:element name="div">
|
|
|
|
<xsl:attribute name="style">clear: left</xsl:attribute>
|
|
|
|
</xsl:element>
|
|
|
|
</xsl:element>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
2019-06-13 03:59:47 +02:00
|
|
|
<xsl:template name="anchorlink">
|
|
|
|
<xsl:param name="linkdata" />
|
|
|
|
<xsl:param name="typedata" />
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="not($typedata)">
|
|
|
|
<xsl:variable name="t">
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="substring($linkdata, string-length($linkdata) - 2) = 'pdf'">pdf</xsl:when>
|
|
|
|
<xsl:when test="substring($linkdata, string-length($linkdata) - 3) = 'epub'">epub</xsl:when>
|
|
|
|
<xsl:when test="substring($linkdata, string-length($linkdata) - 3) = 'html'">html</xsl:when>
|
|
|
|
<xsl:otherwise>unknown</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
|
|
|
<xsl:call-template name="anchorlink">
|
|
|
|
<xsl:with-param name="linkdata" select="$linkdata" />
|
|
|
|
<xsl:with-param name="typedata" select="$t" />
|
|
|
|
</xsl:call-template>
|
|
|
|
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<xsl:element name="a">
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$linkdata"/></xsl:attribute>
|
|
|
|
<xsl:if test="($typedata != 'unknown')">
|
|
|
|
<xsl:element name="img">
|
|
|
|
<xsl:attribute name="src"><xsl:value-of select="concat('i/',$typedata,'.png')"/>
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:attribute name="alt"><xsl:value-of select="$typedata"/></xsl:attribute>
|
|
|
|
<xsl:attribute name="class">icons</xsl:attribute>
|
|
|
|
</xsl:element>
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:element><xsl:text> </xsl:text>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:template>
|
|
|
|
<!--
|
|
|
|
<xsl:call-template name="anchorlink"/>
|
|
|
|
<xsl:with-param name="linkdata" select="link" />
|
|
|
|
</xsl:call-template>
|
|
|
|
-->
|
2019-05-07 09:16:44 +02:00
|
|
|
</xsl:stylesheet>
|