RE: [xsl] Sort doesn't seem to sort

Subject: RE: [xsl] Sort doesn't seem to sort
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 2 Apr 2003 10:23:50 +0100
> 
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 



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


Current Thread