Help Reading XML Tag for a Beginner

romeo
2011-07-22
2013-05-20
  • romeo
    romeo
    2011-07-22

    Hi!
    I've an XML file whose contents are as following:

    <?xml version="1.0" ?> 
    <response action="registration"> 
            <element> 
            <properties name="username">cst11</properties> 
            <properties name="playerhandle">238768881697142018728993387950411141</properties> 
            <properties name="skinId">RCA001</properties> 
            <properties name="errcode" >loginnotAllowed</errcode> 
            </element> 
    </respo
    

    nse>

    I've to retrieve the values ("cst11","238768881697142018728993387950411141","RCA001" and "loginnotAllowed") using TinyXML. How to do this? Can any body post some sample code for this? I'm using TinyXML with VC+.