c++ code to read xml file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • trish
    New Member
    • Dec 2007
    • 1

    c++ code to read xml file

    hi i want a C++ code to read and display the string between two nodes of a xml file.The xml file is as displayed below

    <?xml version="1.0" ?>
    - <bk:Books xmlns:bk="http://myserver/myschemas/Books">
    - <bk:Book>
    <bk:Title>Jus t XML</bk:Title>
    </bk:Book>
    - <bk:Book>
    <bk:Title>Profe ssional XML</bk:Title>
    </bk:Book>
    - <bk:Book>
    <bk:Title>XML Step by Step</bk:Title>
    </bk:Book>
    - <bk:Book>
    <bk:Title>HLC Tech</bk:Title>
    </bk:Book>
    </bk:Books>
  • chroot
    New Member
    • Nov 2007
    • 13

    #2
    Hi

    I've used the XML Parser of Frank Vanden Berghen (here).

    It's easy to learn and to integrate into your program (just two files), and under the BSD license.

    Give it a try, I found it very useful

    Comment

    Working...