note 104803 deleted from ref.xslt by danbrown
| From: | danbrown@php.net | Date: | Fri, 08 Jul 2011 15:09:08 +0000 |
| Subject: | note 104803 deleted from ref.xslt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181352@lists.php.net to get a copy of this message | ||
Note Submitter: amiller at gmail dot com
Reason: useless
----
^<xsl:template match="/"><xsl:apply-templates
select="buchhandel/buch"><xsl:sort select="@ersch-jahr"
data-type="number"/></xsl:apply-templates></xsl:template><xsl:template
match="buch"><xsl:if test="@ersch-jahr < 2000"><xsl:value-of
select="buchtitel"/><xsl:text>, </xsl:text><xsl:value-of
select="@ersch-jahr"/><br/></xsl:if></xsl:template></xsl:stylesheet>
<xsl:template match="/"><xsl:apply-templates
select="buchhandel/buch"><xsl:sort select="buchautor[1]"
data-type="text"/></xsl:apply-templates></xsl:template><xsl:template
match="buch"><xsl:if test="@ersch-jahr > 1998 or
@kat='reisen'"><xsl:value-of select="buchtitel"/><xsl:text>,
</xsl:text><xsl:value-of select="@ersch-jahr"/><xsl:text>,
</xsl:text><xsl:value-of select="@kat"/><xsl:text>,
</xsl:text><xsl:value-of
select="buchautor"/><br/></xsl:if></xsl:template></xsl:stylesheet>
<xsl:template match="/"><xsl:apply-templates
select="buchhandel/buch"/></xsl:template><xsl:template
match="buch"><xsl:if
test="preis/@waehrung='Dollar'"><xsl:value-of
select="buchtitel"/><xsl:text>, </xsl:text><xsl:value-of
select="fn:format-number(preis *
0.68054,'##00.00')"/><br/></xsl:if></xsl:template></xsl:stylesheet>
<xsl:template match="/"><xsl:apply-templates
select="buchhandel/buch"><xsl:sort select="buchtitel"
data-type="text"/></xsl:apply-templates></xsl:template><xsl:template
match="buch"><xsl:if test="@ersch-jahr > 2003"><xsl:text>NEU
ERSCHIENEN !!!! </xsl:text></xsl:if><xsl:if test="@ersch-jahr <
1975"><xsl:text>VERGRIFFEN !!!! </xsl:text></xsl:if><xsl:value-of
select="buchtitel"/><br/></xsl:template>
<xsl:param name="start"/><xsl:param name="ende"/><xsl:template
match="/buchhandel"><html><head><title>Uebung
12-2</title></head><body><xsl:for-each-group select="buch"
group-by="@ersch-jahr"><xsl:sort select="@ersch-jahr"
data-type="number"/><xsl:if test="current-grouping-key() > $start and
current-grouping-key() < $ende"><br/><b><xsl:value-of
select="current-grouping-key()"/></b><br/><xsl:value-of
separator=", "
select="current-group()/buchtitel"/><br/></xsl:if></xsl:for-each-group></body></html></xsl:template>
Fahrplanauskunft von <xsl:value-of select="@von"/> nach <xsl:value-of
select="@nach"/></title></head><body><ul><xsl:apply-templates/></ul></body></html></xsl:template><xsl:template
match="verbindung"><xsl:if test="fn:count(umsteigen) <
3"><li><b><xsl:value-of select="ab"/> - <xsl:value-of
select="an"/></b><br/>Dauer: <xsl:value-of select="dauer"/>
(<xsl:value-of select="zug"/><xsl:text> </xsl:text><xsl:value-of
select="umsteigen/zug"/>)<br/><xsl:text>Umsteigen:
</xsl:text><xsl:value-of select="fn:count(umsteigen)"/></li>