473,386 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Pathan alternatives - Quick question

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 .. :-)

Aug 11 '06 #1
5 1200


dd*****@gmail.com wrote:

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>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Aug 11 '06 #2
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 ? :-)

Martin Honnen wrote:
dd*****@gmail.com wrote:

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>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Aug 17 '06 #3
dd*****@gmail.com wrote:
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?

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Aug 17 '06 #4

Joseph Kesselman wrote:
dd*****@gmail.com wrote:
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?

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
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++/fid88070F9...ACD230B02.aspx
[TestDriver.cpp]
http://www.koders.com/c++/fid88070F9...ACD230B02.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 .. !

Aug 18 '06 #5
Hi,

dd*****@gmail.com writes:
So the question goes, any *C++* sanity-preserving Xpath libraries out
there ? :-)
Sometimes it is easier to take a C implementation and wrap it yourself.
libxml2[1] I believe implements Xpath 1.0.

[1] http://www.xmlsoft.org/

hth,
-boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
Aug 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: someuser91 | last post by:
Does anybody know about any alternatives to sourceforge? It was a great service once but now they rejecting all kinds of good projects. I think they are running out of servers support or...
43
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
6
by: greek_bill | last post by:
Hi, I'm interested in developing an application that needs to run on more than one operating system. Naturally, a lot of the code will be shared between the various OSs, with OS specific...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.