We developing a product where we are reading an tchar *buffer which is in XML format. The XML is a nested XML tree. I need to traverse this XML recursively to create various required obj from the XML string.
I am using XercesC 2.8 for the same. I am able to pare & fetch simple XML tree and create back the XML buf from the object info. For eg. from the below mentioned XML I can create an Object of class CHouse & vice-a-versa
But when the XML complicates like:
How do I parse it using Xerces. I am facing problem when I try to get the inner XML, say I hot the node of Tag "City", then there are two Tags by the name "Area1" & "Area2" which are to be converted into Object of some class.
If anyone has worked on XercesC please help me.
Any pointers on this would be appreciated. I have searched a lot on web, but could not find any thing relevant. Even the smaples of Xerces are of no help