Pathan alternatives - Quick question

Discussion in 'XML' started by ddtbhai@gmail.com, Aug 11, 2006.

  1. Guest

    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, 2006
    #1
    1. Advertising

  2. 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/
     
    Martin Honnen, Aug 11, 2006
    #2
    1. Advertising

  3. Guest

    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:
    > 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, 2006
    #3
  4. 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
     
    Joseph Kesselman, Aug 17, 2006
    #4
  5. Guest

    Joseph Kesselman wrote:
    > 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 /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 .. !
     
    , Aug 18, 2006
    #5
  6. Hi,

    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
     
    Boris Kolpackov, Aug 18, 2006
    #6
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert V. Hanson
    Replies:
    2
    Views:
    669
    Yan-Hong Huang[MSFT]
    Jul 3, 2003
  2. Don Pedro
    Replies:
    0
    Views:
    463
    Don Pedro
    Jul 3, 2003
  3. =?Utf-8?B?UnlhbiBTbWl0aA==?=

    Quick Question - Newby Question

    =?Utf-8?B?UnlhbiBTbWl0aA==?=, Feb 14, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    658
    Iain Norman
    Feb 16, 2005
  4. JKop
    Replies:
    11
    Views:
    889
  5. merman

    Newbie-question: scanf alternatives?

    merman, Sep 20, 2004, in forum: C Programming
    Replies:
    55
    Views:
    1,329
    Dan Pop
    Sep 24, 2004
Loading...

Share This Page