You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Mattias Brändström <br...@ludd.luth.se> on 2003/05/07 22:02:09 UTC

XPath and DOM

Hi!

I have a quick question on XPath and how the xml.apache packages 
use/implement it.

Basicaly what I want to do is to use XPath to point out specific parts 
of a Xerces DOMDocument using XPath. In other words I am looking for 
something that can give me a bunch of DOMNodes given an XPath pointer 
and a DOMDocument.

Does anyone here know if this can be done? Any hints will be helpfull!

Regards,
Mattias


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Re: XPath and DOM

Posted by Berin Lautenbach <be...@ozemail.com.au>.

J.Pietschmann wrote:
> Mattias Brändström wrote:
> 
>> Basicaly what I want to do is to use XPath to point out specific parts 
>> of a Xerces DOMDocument using XPath. In other words I am looking for 
>> something that can give me a bunch of DOMNodes given an XPath pointer 
>> and a DOMDocument.
> 
> 
> Try
>  http://xml.apache.org/xalan-j/apidocs/org/apache/xpath/XPathAPI.html

Or

http://xml.apache.org/xalan-c/usagepatterns.html#xpath

For the C library.

Cheers,
	Berin



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Re: XPath and DOM

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Mattias Brändström wrote:
> Basicaly what I want to do is to use XPath to point out specific parts 
> of a Xerces DOMDocument using XPath. In other words I am looking for 
> something that can give me a bunch of DOMNodes given an XPath pointer 
> and a DOMDocument.

Try
  http://xml.apache.org/xalan-j/apidocs/org/apache/xpath/XPathAPI.html

J.Pietschmann


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org