I have a QByteArray postData...WHere the postData contains data like dis
"<?xml version="1.0"?>
<EntryGateDetails>
<EntryDate>2013-01-05 12:49</EntryDate>
<UserID>35199</UserID>
</EntryGateDetails>
Now how can i parse these...?
I have a QByteArray postData...WHere the postData contains data like dis
"<?xml version="1.0"?>
<EntryGateDetails>
<EntryDate>2013-01-05 12:49</EntryDate>
<UserID>35199</UserID>
</EntryGateDetails>
Now how can i parse these...?
Load this QByteArray in to a QDomDocument, and read the childred (QDomElements), and then the tag names (EntryGateDetails, EntryDate, UserID, etc..)
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks