S
Slickuser
I'm new to C++.
How do I parse the information below back from a string in memory?
I do not want to output this to a XML file and parse the file. Thanks.
<UserRoot>
<Header>
<Transmit>True</Transmit>
<Exception>None</Exception>
</Header>
<Body>
<InfoScheme Version="5.0">
<FunctionCall>GetUserName</FunctionCall>
<Login id="1" user="a" name="Jack" location="newyork:usa" />
<Login id="2" user="b" name="Ken" location="tokyo:japan" />
<Login id="3" user="c" name="Jen" location="xx:yy" />
</InfoScheme>
</Body>
</UserRoot>
Information want to get back:
Transmit = True
Exception = None
Unique user with id, name and location.
How do I parse the information below back from a string in memory?
I do not want to output this to a XML file and parse the file. Thanks.
<UserRoot>
<Header>
<Transmit>True</Transmit>
<Exception>None</Exception>
</Header>
<Body>
<InfoScheme Version="5.0">
<FunctionCall>GetUserName</FunctionCall>
<Login id="1" user="a" name="Jack" location="newyork:usa" />
<Login id="2" user="b" name="Ken" location="tokyo:japan" />
<Login id="3" user="c" name="Jen" location="xx:yy" />
</InfoScheme>
</Body>
</UserRoot>
Information want to get back:
Transmit = True
Exception = None
Unique user with id, name and location.