[xsd-users] Schema caching example: enabe schema caching automatically

Boris Kolpackov boris at codesynthesis.com
Thu Sep 26 09:22:00 EDT 2013


Hi Ashish,

Ashish Singhal <ashish at ashishsinghal.com> writes:

> Unfortunately, there's hundreds of root elements as well.

You may then want to check out the element type feature (see the
'messaging' example). You will still need to change your code
that calls the parsing functions, but at least you will be able
to handle all the root elements with a single function template
and the C++ compiler will pin-point all the places that need
changing (since the parsing functions won't be there).

Boris



More information about the xsd-users mailing list