xsl-list
[Top] [All Lists]

RE: Sort doesn't seem to sort

2003-04-02 02:23:50

I'm learning XML and running trivial examples from a book.  
However, I stumbled on a problem with this XSL code snippet:

      <xsl:for-each select="//vendor" >
      <xsl:sort select="vendor_name"/>
      <h2><xsl:value-of select="vendor_name"/></h2>
      </xsl:for-each>


I can't see anything wrong with this. This usually means that the bug is
in the part of the code that you haven't shown us. (But on occasions it
means that the bug is staring me in the face and I haven't spotted it.)

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



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



<Prev in Thread] Current Thread [Next in Thread>