Hi, I want output an A-Z list of pages from an XSL document.
I have worked out how to output an ordered list like this:
But how do I output a header for each group of links likeCode:<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" omit-xml-declaration="yes"> <xsl:template match="/opml"> <!-- apply the body template --> <xsl:apply-templates match="body" /> </xsl:template> <xsl:template match="body"> <dl> <xsl:apply-templates select="/opml/body//outline"> <xsl:sort select="@text" /> </xsl:apply-templates> </dl> </xsl:template> <xsl:template match="/opml/body//outline"> <dt> <a> <xsl:attribute name="href"> <xsl:value-of select="@rel_url"/></xsl:attribute> <xsl:value-of select="@text" /> </a> </dt> <dd> <xsl:value-of select="@description" /> </dd> </xsl:template> </xsl:stylesheet>
A
....
....
....
B
...
...
...
Any ideas?




Bookmarks