Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Get all child from tag XML



  • Hello, I need get all child from a tag of the structure below

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <ns2:listarAlgo xmlns:ns2="http://soap.myws.com.br/">
        <return>
            <codigo>1111</codigo>
            <dataNascimento>1999-01-01</dataNascimento>
            <email>my@email.com</email>
            <nome>MyName</nome>
            <sexo>F</sexo>
            <grauInstrucao/>
            <identificador>349</identificador>
            <usuario><codigo>111</codigo>
            <email>my@email.com</email>
            <login>MyLogin</login>
            <nome>MyName</nome>
            <senha>Seinha</senha>
            </usuario>
        </return>
    </ns2:listarAlgo>
    </soap:Body>
    </soap:Envelope>
    

    I need get all child of <return></return>
    I'm using QDomDocument with no success...

    Thanks!


  • Lifetime Qt Champion

    Hi,

    Please don't post the same question multiple times

    You already are getting answers there

    Closing this one.


Log in to reply