[xsde-users] No polymorphism without substitutionGroup?
Boris Kolpackov
boris at codesynthesis.com
Wed Jun 12 11:41:02 EDT 2013
Hi Werner,
Werner Haug <werner.haug at agfa.com> writes:
> <base xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:type="derived">
> <nam>any name</nam>
> <value>1</value>
> </base>
>
> How do I have to treat such a case?
Take a look at the 'polyroot' example in the examples/cxx/hybrid/
directory. It shows how to handle XML vocabulary with polymorphic
root elements.
Boris
More information about the xsde-users
mailing list