Pathan alternatives - Quick question

D

ddtbhai

Hello all,

I selected Pathan recently to add basic XPath query support for an
application.
However, the site gives me an impression of "abandonware" as the latest
release has been in beta for about two years now.

I had tried making sense of Apache Xalan, but the material was heavily
geared towards XSLT and some other acronyms i wasn't interested in ...
and the sample weren't encouraging.

Has anyone found any free, platform-independent, in-development
alternatives to Pathan ? Or if Xalan is "TheOne" any links to some
small and simple tutorials will be appreciated.

Thanks for your time .. :)
 
M

Martin Honnen

Has anyone found any free, platform-independent, in-development
alternatives to Pathan ? Or if Xalan is "TheOne" any links to some
small and simple tutorials will be appreciated.

I don't know Pathan, is that a Java application/API?
If you are looking for XSLT/XPath 1.0 support then Saxon 6 is a
possibility, here is the link to its documentation of the XPath API
<http://saxon.sourceforge.net/saxon6.5.5/api-guide.html#Expressions>

On the other hand with the standard Java 1.5 SDK you get XPath support
with the package

<http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/package-frame.html>
 
D

ddtbhai

Thanks Martin,
I'm extremely sorry for not mentioning that I'm interested in C++
libraries!
(egad! ppl work with C++ and XML??? - TheWorld)

So the question goes, any *C++* sanity-preserving Xpath libraries out
there ? :)
 
J

Joseph Kesselman

So the question goes, any *C++* sanity-preserving Xpath libraries out
there ? :)

I'm not sure of its current status, but doesn't the C++ version of
Apache Xalan have an XPath API?
 
D

ddtbhai

Joseph said:
I'm not sure of its current status, but doesn't the C++ version of
Apache Xalan have an XPath API?

Ok thanks to Joseph, i renewed my efforts to make sense of Xalan and am
happy to have made a nice discovery : The XPathWrapper sample class!
(And i'm still sane ! or so i think ... )

[XPathWrapper.hpp]
http://www.koders.com/c++/fid88070F9440761886846EF4D980C5BBEACD230B02.aspx
[TestDriver.cpp]
http://www.koders.com/c++/fid88070F9440761886846EF4D980C5BBEACD230B02.aspx

For people in a hurry, this class seems to be the perfect fit.
Strangely, it is not listed in the official samples page!
(http://xml.apache.org/xalan-c/samples.html)

So Xalan it is .. !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,002
Messages
2,570,261
Members
46,859
Latest member
VallieMcKe

Latest Threads

Top