[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: modifying an XSLT Document at runtime

Subject: RE: modifying an XSLT Document at runtime
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Thu, 6 Dec 2001 16:12:18 -0000
xsldocument.selectsinglenode
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.