Re: dynamically changing the XSL Node

Subject: Re: dynamically changing the XSL Node
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 07 Sep 2000 15:59:24 -0400
At 02:26 PM 09/07/2000 -0400, Krishnamurthy, Rama wrote:
Can I access the XSL node by the following code

Set Node = XSLDoc.selectSingleNode("xsl:for-each
select='xml/rs:data/z:row/p1")

Almost. selectSingleNode takes an XPath expression, so you might need to do something like:
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"

XSLDoc.nodeValue = "xsl:for-each select='xml/rs:data/z:row/p2"


?

======================================================================
John E. Simpson         | "I used to be an airline pilot. I got fired.
http://www.flixml.org   | I kept locking the keys in the plane. They
simpson@xxxxxxxxxxx     | caught me on an 80-foot stepladder with a
                        | coathanger." (Steven Wright)


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread