This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:sort having no effect.
- From: "Manish M. Shah" <manish at catylist dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 26 Apr 2002 14:34:57 -0500
- Subject: [xsl] xsl:sort having no effect.
- Reply-to: xsl-list at lists dot mulberrytech dot com
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