<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/XSL/Transform"><!-- Rest des Stylesheets --></xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/XSL/Transform"><xsl:output method="html"/><!-- Rest des Stylesheets --></xsl:stylesheet>
<xsl:template match="line"><xsl:apply-templates /><br /></xsl:template>
<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/XSL/Transform"><xsl:output method="html"/><xsl:import href="poem.xsl"/><xsl:template match="line"><xsl:if test="position()=last()"><img src="images/1pixel.gif" width="75" height="1" /></xsl:if><xsl:apply-templates/><br /></xsl:template></xsl:stylesheet>
<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/XSL/Transform"><xsl:output method="html"/><xsl:template match="/"><html><head><title><xsl:apply-templates select="poem/title" mode="head"/></title></head><body><xsl:apply-templates select="poem"/></body></html></xsl:template><xsl:template match="poem"><xsl:apply-templates select="stanza"/></xsl:template><xsl:template match="stanza"><p><xsl:apply-templates select="line"/></p></xsl:template><xsl:template match="line"><xsl:apply-templates /><br /></xsl:template><xsl:template match="title"><h3><xsl:value-of select="."/></h3></xsl:template><xsl:template match="title" mode="head"><xsl:value-of select="."/></xsl:template></xsl:stylesheet>
java -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.Driver \ com.jclark.xsl.sax.Driver \ $1.xml $2.xsl $3.html
Dieser Text ist der Zeitschriften-Ausgabe 11/1999 von iX entnommen.
iOS, Android, Windows Phone 7 und HTML5 - das neue Sonderheft von heise Developer führt Einsteiger und Profis in die Programmierung mobiler Geräte ein.