| Subject: Re: [xsl] FW: Troubleshooting a sort From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 19 Feb 2004 20:46:54 GMT | 
<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
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] FW: Troubleshooting a sor, Andreas L. Delmelle | Thread | [xsl] PHP class for XSL transformat, yguaba | 
| Re: [xsl] XSL SUM BUG?, Andrew | Date | Re: [xsl] XSL SUM BUG?, David Carlisle | 
| Month |