[xsl] xsl:sort having no effect.

Subject: [xsl] xsl:sort having no effect.
From: "Manish M. Shah" <manish@xxxxxxxxxxxx>
Date: 26 Apr 2002 14:34:57 -0500
Hi guys,

I'm pasting a snippet of code below to do a sort. There is no effect, no
matter what I do. It looks right, but maybe I'm missing something? The
references to the XML are fine because the data does come up, just it is
not sorted. I'm racking my brains out here, any help would be
appreicated.  Here it is:
 <xsl:for-each select="Category">
 <xsl:sort select="@pageNumber" data-type="number" order="ascending"/>
       <img width="19" height="13" align="absbottom">
          <xsl:attribute name="src">
              <xsl:text>../../../../images/bullet_</xsl:text>
              <xsl:value-of select="normalize-space(@pageNumber)"/>
              <xsl:text>.gif</xsl:text>
          </xsl:attribute>
        </img>
     
     <br/>
  </xsl:for-each>
 
Thank you.
Manish



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread