Subject: RE: [xsl] Troubleshooting a sort From: cknell@xxxxxxxxxx Date: Wed, 18 Feb 2004 14:32:29 -0500 |
Untested but reasonable idea: Replace this: <xsl:sort select="*[name()=$param1]"/> With this: <xsl:sort select="descendant::*[name()=$param1]"/> By the way, where are you applying this template that requires you to use the "//" to preface the XPath. Double slashes are often a poor XSLT programming practice resulting in unnecessary tree traversal and could lead to performance problems and incorrect and hard-to-diagnose bugs. Use them only when there is no other reasonable option. -- Charles Knell cknell@xxxxxxxxxx - email XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Troubleshooting a sort, Grant, Kathryn --- S | Thread | [xsl] Troubleshooting a sort, Grant, Kathryn --- S |
Re: [xsl] Processing only certain n, Rui Alberto L. | Date | RE: [xsl] XML validation, cknell |
Month |