This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xsl:sort having no effect.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]