|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPathEvaluator.evaluate problem
We have a DOM and my app adds an element to the tree, I am writing the DOM out to make sure we have infact added the element, on the next line, I say get me the element which I added just now using XPath expression, it comes back as null. In general, I am able to retrieve any element which were initially loaded by the DOM using XPath expression but I am unable to retrieve any element which I added after the load using XPath expression. Interestingly, I can retrieve the added element using the good old Document.getElementsByTagName( ) method. I am guessing this has something to do with the way we load the DOM and then we add the element. I mean setting features of the DOM parser while creation and or creation of element using Document object and some other method instead of simple createElement method. I can share the code over email if somebody wants to have a look and see where and what I am missing. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








