[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] modifying an XSLT Document at runtime


Subject: RE: [xsl] modifying an XSLT Document at runtime
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 6 Dec 2001 16:12:18 -0000

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@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Sanjay Pandey/Towers Perrin
> Sent: 06 December 2001 15:46
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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



Current Thread
Keywords