C++ EXPERTS QUESTION FOR USING XML UNDER UNIX - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

C++ EXPERTS QUESTION FOR USING XML UNDER UNIX

tino_projecttino_project Posts: 7Member
C++ EXPERTS QUESTION FOR USING XML UNDER UNIX

hi there

does anyone know an good and very easy to use example
of creating an xml object and reading from it and how to compile it

kind regards,
V

Comments

  • StevieOStevieO Posts: 4Member
    : C++ EXPERTS QUESTION FOR USING XML UNDER UNIX
    :
    : hi there
    :
    : does anyone know an good and very easy to use example
    : of creating an xml object and reading from it and how to compile it
    :
    : kind regards,
    : V
    :

    I recommend you take a look at Xalan and Xerces (http://xml.apache.org/). Xerces can parse XML and provide you with the DOM (an object-based view of the XML file). Xalan can do XSLT (XML transformations) on XML documents, and works with Xerces.
  • abcabc Posts: 443Member
    : I recommend you take a look at Xalan and Xerces (http://xml.apache.org/). Xerces can parse XML and provide you with the DOM (an object-based view of the XML file). Xalan can do XSLT (XML transformations) on XML documents, and works with Xerces.
    :

    if you're looking for free/portable, then xerces is the most probable option (although it's kind of a beastie). there are some less-than-complete c++ wrappers on top of expat that might fit the bill, depending on what you need.

    otherwise, there are options like msxml (ugh! xerces suddenly looks quite good :-) ) or QT's parser (kind of niche though, since QT is far from mainstream).

    jokes aside, these are (at least some of) the c++ libs. if c++ is not a must, go with libxml2 - i'm kind of reluctant to recommend expat unless you know your C, since it seriously is a beast (look at the source code and get lost in the macro maze).
Sign In or Register to comment.