Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

nested xml

Anonymous
2011-12-08
2013-05-20

  • Anonymous
    2011-12-08

    Dear all,

    I have a xml file as below:

    <config>
    <minrec>2.5</minrec>
    <maxrec>10</maxrec>
    <silence>1.5</silence>
    <stbdelay>1.0</stbdelay>
    <callsign1>tnt</callsign1>
    <callsign2>tbs</callsign2>
    <callsign3>dsc</callsign3>
    <callsign4>usa</callsign4>
    <samplerate>8000</samplerate>
    <help><h1>How do I use it?</h1>
    <h2>Hold down the TALK button and speak towards the bottom of the remote.</h2>
    <h1>What do I say?</h1>
    <h2>Travel Channel</h2>
    <h2>Good Morning America</h2>
    <h2>Movies with Tom Hanks</h2>
    <h2>Tina Fey</h2>
    <h2>Channel 4</h2>
    </help>
    </config>

    The last element "help" contains another xml, which is expected not to be parsed until use.

    Could I get the raw text by TiXmlNode* node?

    Thanks!

    BR,
    Terry