|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FW: Troubleshooting a sort
<xsl:for-each select="//SAVEIdeas/SAVEIdea">
you don't want // there just / unless you really want to search the
entire document to arbitrary depth looking for all the SAVEIdesas
elemnts
then you have
<xsl:sort select="*[name()=$param1]"/>
so sorting on the children of the specified name but your status element
isn't a child oits a grandchild so you need
<xsl:sort select="(*|status_history/*)[name()=$param1]"/>
David
--
http://www.dcarlisle.demon.co.uk/matthew
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








