This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: modifying an XSLT Document at runtime
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 6 Dec 2001 16:12:18 -0000
- Subject: RE: [xsl] modifying an XSLT Document at runtime
- Reply-to: xsl-list at lists dot mulberrytech dot com
Well there is another bug
attribNode = document.XSLDocument.selectSingleNode("xsl:sort/@select");
Should be
attribNode =
document.XSLDocument.selectSingleNode("//xsl:sort/@select");
The reason it is bad it that you may want more than one xsl:sort in your
stylesheet and you then have problems with which one you are changing.
Have a look at
http://www.bayes.co.uk/xml/index.xml?/xml/tutorial/filtering/filter.xml
for a better way of doing it.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Sanjay Pandey/Towers Perrin
> Sent: 06 December 2001 15:46
> To: xsl-list@lists.mulberrytech.com
> Subject: RE: [xsl] modifying an XSLT Document at runtime
>
>
>
>
> Chris,
>
> Thanks for the response. But removing extra ">" did not really help.
>
> There may be something basic I am missing somewhere.
>
> Do you have any suggestion a better way of handling this
> "sorting" business I am talking about.
>
> Thanks,
> Sanjay
> 215-246-4771
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list