Mercurial > hg > nginx-site
diff xslt/link.xslt @ 424:aa00b4d476c8
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 24 Feb 2012 10:16:15 +0000 |
parents | e179a6487bbd |
children | 2a061496979a |
line wrap: on
line diff
--- a/xslt/link.xslt Fri Feb 24 10:15:45 2012 +0000 +++ b/xslt/link.xslt Fri Feb 24 10:16:15 2012 +0000 @@ -64,4 +64,17 @@ </a> </xsl:template> + <xsl:template match="links"> + + <xsl:for-each select="link"> + <xsl:sort select="@id"/> + + <a href="{substring-before(@doc, '.xml')}.html#{@id}"> + <xsl:value-of select="@id"/> + </a> + + <br/> + </xsl:for-each> + </xsl:template> + </xsl:stylesheet>