[xsd-users] Relating XSD identifiers to C++ identifiers

Boris Kolpackov boris at codesynthesis.com
Fri Feb 2 09:29:24 EST 2018


Iain Sharp <isharp at atis.org> writes:

> I am working on a committee-defined set of XSDs that have a complicated
> structure which means that various special cases occur when CodeSynthesis
> Tree chooses the identifiers to use in its object model. So I can automate
> some higher layer code generation I would like to have a machine readable
> map between the elements and identifiers used in the XSD and the
> corresponding identifiers in the C++ object model.
> 
> Is there an easy way to generate this information?

You could probably extract this information from the --name-regex-trace
option output. See the NAMING CONVENTION section in the xsd man page for
details.

Boris



More information about the xsd-users mailing list