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]

RE: sorting shares


> I have a list of shares with various elements of date,
> time, gain & loss, and I need to sort them in
> alphabetical order. I have tried the <xsl:for-each>
> <xsl:sort select=""> functions on the name of the
> share but nothing seems to sort.

It's very hard to debug code that you can't see, but my wild guess is that
you've got the context for the sort key wrong: a common error is

<xsl:for-each select="item">
<xsl:sort select="item"/>

Mike Kay




 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]