Parsing Nested Structures/Unions defined in C/C++ header files in XML
I have a structure represented as follows: (Example)
I want this to be represented as follows in XML:
unsigned int child7;
<tag_ref = "structchild4">
The method I'm following is that I'm converting this into a gccXML format and I then parse it using Visual C++. I use the xerces-c DOM parser.
Could anyone suggest how to go about doing this? Thanks!