Subject: RE: [xsl] MSXML3: Getting the new node object after .replaceChild From: "Joel P Thornton" <joelt@xxxxxxxxxxxxx> Date: Fri, 13 Apr 2001 13:43:56 -0700 |
Thanks so much Chris :) | nodeParent.replaceChild xmlDocNew.documentElement, nodeToReplace | you are inserting the document element under the parent not a new node I changed my code from this: nodeParent.replaceChild xmlDocNew.documentElement, nodeToReplace to this: Set nodeDesired = xmlDocNew.documentElement.cloneNode(True) nodeParent.replaceChild nodeDesired, nodeToReplace .. and that got it working as desired, so I can then use nodeDesired, and have its parent be nodeParent. :) joel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] MSXML3: Getting the new n, Chris Bayes | Thread | [xsl] Xalan Java Extension question, Sudhir Malhotra |
Re: [xsl] How to get ' to display p, Mike Brown | Date | [xsl] Xalan Java Extension question, Sudhir Malhotra |
Month |