This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to sort a nodeset referenced by a variable?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] How to sort a nodeset referenced by a variable?
- From: Kumar Shailendra <Kumar dot Shailendra at morganstanley dot com>
- Date: Thu, 05 Jul 2001 13:05:50 -0400
- Organization: Morgan Stanley
- References: <000201c10571$4213ed10$0b4c3c3e@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Wendell/Mike,
Thanks a lot for your comments.
These type of comments help a great deal for new commers like us in
understanding the finer points of the technology.
Shail
Michael Kay wrote:
> > So <xsl:sort select="secondelement" /> would work as well (and be a
> > teeny-tiny bit faster).
>
> It might save two microseconds in parsing the XPath expression, but I think
> you can take it as read that any respectable XSLT engine will reduce xxx and
> ./xxx to the same internal representation. Actually I think ./xxx is quite
> nice for extra clarity.
>
> Mike Kay
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list