Re: Xpath query of XPathResult?

Martin Honnen <[email protected]> Sun, 04 Jun 2006 18:03:58 +0200
Newsgroups gmane.comp.mozilla.devel.xml
Organization Liberty Development
Message-ID <[email protected]>
hairbo wrote:


> The MSXML parser seems to have no difficulty running an xpath query on
> a returned nodeset, so I'm struggling to see why this appears to be so
> difficult in Mozilla's implementation.  

Could you show what kind of MSXML code use you have?
In my understanding you can call selectNodes/selectSingleNode with a 
single node as the context node. I don't know of a way to run an XPath 
on a complete nodeset.
And with Mozilla's XPath API it is possible to pass in a single node as 
the context node too so I am not sure what you think MSXML can do that 
Mozilla's API can't do.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/