[xsd-users] polymorphism through xs:choice
Harg Tholan
hargtholan at gmail.com
Tue Jun 11 09:12:40 EDT 2013
Hi,
I think that Boris answer serves my purposes of using the "xs:choice
polymorphism antipattern". It is actually explained at page 51 of the
C++/Tree Mapping Manual.
Thank you.
2013/6/11 Boris Kolpackov <boris at codesynthesis.com>
> Hi Robert,
>
> Bielik, Robert <Robert.Bielik at gyros.com> writes:
>
> > One option would be if there is a possibility to assign a GUID to the
> > generated C++ type, and map that GUID to a casting function.
>
> But what type will this "casting function" cast to? Maybe some sample
> code will help me understand what you are trying to achieve here.
>
> Boris
>
More information about the xsd-users
mailing list