Hi i an trying to output an A-Z list of web pages. However I only want to run the header <h2> once (not for every list item). How can I do this? here is my code

<xsl:template match="body">  
  <xsl:apply-templates select="/opml/body//outline">     
   <xsl:sort select="@text" />        

<xsl:template match="/opml/body//outline"> 
<xsl:variable name="letter" select="substring(@text, 1, 1)" />

  <xsl:when test="$letter = 'A'">
     <xsl:call-template name="A" />  
  <xsl:when test="$letter = 'B'">
     <xsl:call-template name="B" />  

   <xsl:attribute name="href">
   <xsl:value-of select="@rel_url"/></xsl:attribute>
   <xsl:value-of select="@text" />
      <xsl:value-of select="@description" />


<xsl:template name="A">  

<xsl:template name="B">