xsl-list
[Top] [All Lists]

Re: FW: Troubleshooting a sort

2004-02-19 13:46:54

<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



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