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:

<?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 match="body">  
  <xsl:apply-templates select="/opml/body//outline">     
   <xsl:sort select="@text" />        

<xsl:template match="/opml/body//outline">  
    <xsl:attribute name="href">
    <xsl:value-of select="@rel_url"/></xsl:attribute>
    <xsl:value-of select="@text" />
    <xsl:value-of select="@description" />

But how do I output a header for each group of links like



Any ideas?