This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dynamically changing the XSL Node


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@polaris.net     | caught me on an 80-foot stepladder with a
                         | coathanger." (Steven Wright)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]