[xsd-users] Cannot see/output the hierarchy of the objects

Boris Kolpackov boris at codesynthesis.com
Wed Sep 14 20:44:47 EDT 2016


Hi Vladimir,

Vladimir Sverdlov <vsverdlov at transcendinsights.com> writes:

> Could you take a look and give some inside?

You example doesn't include an .xml file so it's hard to figure out what
exactly you expect to "see" (also, in your compile command lines there
is driver1.cpp while in the archive you have driver2.cpp).

But looking through your schemas my guess would be this is a polymorphic
object model and you don't "see" things because you are looking in the
bases, not in actual derived instances. Check the C++/Tree documentation
on how to handle polymorphic schemas.

Boris



More information about the xsd-users mailing list