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

XPathEvaluator.evaluate problem

Subject: XPathEvaluator.evaluate problem
From: "meka v.krishna prasad" <mvkprasad@xxxxxxxxx>
Date: Fri, 24 Oct 2003 15:44:25 -0700 (PDT)
xpathevaluator evaluate
  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


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.