[xsd-users] Sequence + Choice (or Alternative)

Marvin M. xsd-users at groenndemon.de
Thu Apr 15 10:12:39 EDT 2010


Hi Boris,

Boris Kolpackov schrieb:
> XSD warned you that it is generating parsing functions for all global
> elements. That's the default behavior. You can specify which global
> elements are actual document roots with the --root-element option:
> 
> --root-element grammar

Yes, but the problem is that now XML with other document roots than
grammar are valid. I find that a bit ugly.

>> Unless you have a solution for those problems, I think I'll stick with
>> the old choice and use the XSD/e approach instead, even though the
>> syntax is less neat.
> 
> Yes, that's not a bad idea either.

Do I have to enable XSDE_REUSE_STYLE in config.nmake?
Also, what about XSDE_REUSE_STYLE?
Are there any other options I should enable?

What files do I need for compilations apart from xsde.lib?
I would like to copy those to my own project so I won't have to
redistribute the whole xsde package (it's for a university project).

Thanks,
Marvin



More information about the xsd-users mailing list