1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <xsl:stylesheet version=
"2.0"
3 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method=
"xml" indent=
"no" />
6 <xsl:include href=
"../../formats/html.xsl" />
7 <xsl:include href=
"../../formats/language-elements-html.xsl" />
9 <xsl:template match=
"/book">
12 <title><xsl:apply-templates select=
"title" /></title>
13 <xsl:element name=
"link">
14 <xsl:attribute name=
"rel">stylesheet
</xsl:attribute>
15 <xsl:attribute name=
"href"><xsl:value-of select=
"/book/base/@href" />shapes.css
</xsl:attribute>
19 <xsl:call-template name=
"head-navigation" />
20 <h1><xsl:apply-templates select=
"title" /></h1>
22 <xsl:apply-templates select=
"top" />
24 <xsl:for-each select=
"section">
26 <xsl:element name=
"a">
27 <xsl:attribute name=
"href">#
<xsl:value-of select=
"@id" /></xsl:attribute>
28 <xsl:apply-templates select=
"title" />
34 <p class=
"center"><b>Alphabetical list
</b></p>
36 <xsl:for-each select=
"/book/section/dynamic-variable[@identifier]">
37 <xsl:sort select=
"@identifier" />
38 <xsl:call-template name=
"name-to-linked-dynvar">
39 <xsl:with-param name=
"name"><xsl:value-of select=
"@identifier" /></xsl:with-param>
46 <xsl:for-each select=
"section">
48 <xsl:element name=
"a">
49 <xsl:attribute name=
"name"><xsl:value-of select=
"@id" /></xsl:attribute>
50 <xsl:apply-templates select=
"title" />
53 <xsl:apply-templates select=
"top" />
55 <xsl:for-each select=
"dynamic-variable[@identifier]">
56 <xsl:sort select=
"@identifier" />
57 <xsl:call-template name=
"name-to-linked-dynvar">
58 <xsl:with-param name=
"name"><xsl:value-of select=
"@identifier" /></xsl:with-param>
63 <xsl:apply-templates select=
"dynamic-variable" />