| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| <xsl:output method="html"/> |
| <xsl:param name="title"/> |
| <link rel="stylesheet" href="help.css" type="text/css"/> |
| <body style="margin: 0.5em"> |
| <xsl:value-of select="$title"/> |
| <xsl:apply-templates select="/topics/topic"> |
| <xsl:sort select="order" data-type="number" order="descending"/> |
| <xsl:template match="topic"> |
| <div style="margin-left: 2%"> |
| <xsl:attribute name="href"><xsl:value-of select="id"/>.html</xsl:attribute> |
| <xsl:attribute name="class">tocLink</xsl:attribute> |
| <xsl:value-of select="title"/> |
| <xsl:apply-templates select="topic"/> |