I was looking more towards getting a tree structure from the PSVI. XSD would use similar algorithm to what I need to do. However, I can't use it as is because I need to process the type information dynamically.
________________________________ From: Jeroen N. Witmond [Bahco] <[email protected]> To: [email protected] Sent: Friday, March 1, 2013 10:49 PM Subject: Re: parsing xsd using xerces c++ You might want to take a look at http://www.codesynthesis.com/products/xsd/ It may be what you need. > > Hello Xerces Experts, > > I have a requirement to traverse the tree structure of an XSD file, and > then generate a tree like structure roughly corresponding to the hierarchy > of the XSD structure. > > I looked at SCMPrint.cpp in samples, but its not clear to me on how to do > a tree traversal (depth first pre-order I believe) of the structure. > > Any help / sample code is greatly appreciated. > > Regards, > Chaman.
