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

RE: dynamically changing the XSL Node

Subject: RE: dynamically changing the XSL Node
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Thu, 7 Sep 2000 19:53:27 +0100
xsl node
Rama,
Try
Set Node =
XSLDoc.selectSingleNode("//xsl:for-each[@select='xml/rs:data/z:row/p1']")
Node.setAttribute("select", 'xml/rs:data/z:row/p2')

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Krishnamurthy, Rama
>Sent: 07 September 2000 19:27
>To: xsl-list@xxxxxxxxxxxxxxxx
>Subject: dynamically changing the XSL Node
>
>
>Hi ,
>     I've created a XSL file and need to change a 'for-each pattern'
>dynamically.
>
> I guess it could be done by loading the XSL file in a
>DOM object and accessing its node.
>
>However, I'm not sure about the syntax. Can anyone help?
>
>For eg.
>Can I access the XSL node by the following code
>
>Set Node = XSLDoc.selectSingleNode("xsl:for-each
>select='xml/rs:data/z:row/p1")
>
>If so,how do I change the node to "xsl:for-each
>select='xml/rs:data/z:row/p2"
>
>
>Rama.
>
>
> 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.