More actions
imported>Unknown No edit summary |
(Repair batch-0008 pages from live compare) |
||
| Line 29: | Line 29: | ||
<h2> | <h2> | ||
<xsl:value-of select="."/> | <xsl:value-of select="."/> | ||
[<xsl:value-of select="count(../ | [<xsl:value-of select="count(../booknot(@type='ref') and @topic=$topic)"/>] | ||
</h2> | </h2> | ||
</a> | </a> | ||
<xsl:apply-templates select="../ | <xsl:apply-templates select="../booknot(@type='ref') and @topic=$topic"> | ||
<xsl:sort select="@id"/> | <xsl:sort select="@id"/> | ||
</xsl:apply-templates> | </xsl:apply-templates> | ||
| Line 56: | Line 56: | ||
</xsl:stylesheet> | </xsl:stylesheet> | ||
Latest revision as of 01:40, 27 March 2026
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict"> <xsl:output method="html" indent="yes"/>
<xsl:variable name="lang-title" select="'Literatur'"/>
<xsl:template match="bibliography">
<xsl:comment>
XSL <xsl:value-of select="system-property('xsl:version')"/> /
<xsl:value-of select="system-property('xsl:vendor')"/>
(<xsl:value-of select="system-property('xsl:vendor-url')"/>)
</xsl:comment>
<a name="top"><xsl:value-of select="$lang-title"/> [<xsl:value-of select="count(book[not(@type='ref')])"/>]</a>
<xsl:apply-templates select="topic">
<xsl:sort select="."/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="topic"> <xsl:variable name="topic" select="@id"/>
<a name="topic-{@id}">
<xsl:value-of select="."/> [<xsl:value-of select="count(../booknot(@type='ref') and @topic=$topic)"/>]
</a>
<xsl:apply-templates select="../booknot(@type='ref') and @topic=$topic">
<xsl:sort select="@id"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="book">
<xsl:value-of select="author"/>,
"<xsl:value-of select="title"/>".
<xsl:value-of select="publisher"/>,
<xsl:value-of select="year"/>,
<xsl:apply-templates select="comment"/>
ISBN <a href="http://www.bookpool.com/.x//sm/{isbn}"><xsl:value-of select="isbn"/></a>.
</xsl:template>
<xsl:template match="comment"> <xsl:value-of select="."/>, </xsl:template>
</xsl:stylesheet>