Re: [xsl] XPathEvaluator.evaluate problem

Subject: Re: [xsl] XPathEvaluator.evaluate problem
From: Fatih TURKMEN <fatihturkmen99@xxxxxxxxx>
Date: Sat, 25 Oct 2003 03:36:59 -0700 (PDT)
Please send your code.
--- "meka v.krishna prasad" <mvkprasad@xxxxxxxxx>
wrote:
>   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
> 


__________________________________
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