OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XPath implementation



Title: RE: XPath implementation


> -----Original Message-----
> From: Dimiter Naydenov [mailto:bluelight@omega.bg]
> Sent: 05 July 2001 12:49
> To: xml-dev
> Subject: XPath implementation
>
>
> Hello,
>
> After some reading and research, a could not find a XPath
> implementation in
> W3C's XML DOM. It is used only as part of the XSLT-processor.
> So this means
> that there is no function or interface-method that is in the
> XML DOM to
> parse XPath and return the node. Am I right ? If so, maybe I
> will have to
> write a XPath parser myself or use one if available.

You are right, but W3 is currently working on it see:
http://www.w3.org/TR/2001/WD-DOM-Level-3-XPath-20010618/

>
> Because the project I'm working on is going to be platform
> independant, I
> wanted to use something standard as XML DOM interface-method.
> Can anyone
> recommend a XPath parser with such capabilities (to work on
> Win32, nix*-es,
> etc.) ?

The following XSLT engines have Java classes you can use to return a node and use in your application.

a. http://xml.apache.org/xalan-j/index.html
b. http://users.iclway.co.uk/mhkay/saxon/

There may be others but we have not tried them.

I think there are also some stand alone xpath engines, but you will have to search the web for them.

Peter



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************