[xsde-users] Regex for Class-renaming
Matthias Maschek
matthias.maschek at uma.at
Wed Apr 6 11:27:48 EDT 2011
Hi!
I'm trying to generate my code and to rename all generated classes to start with uppercase. As i was searching through the documentation i only found that option for anonymous types. Any tipps how to achive it for all classes?
My commandline at the moment:
xsde cxx-hybrid --generate-parser --generate-aggregate --include-prefix XML/ --hxx-suffix .h --cxx-suffix .cpp --anonymous-regex '%.* .* (.+/)*(.+)%\u$2%' --anonymous-regex-trace myxsd.xsd
And an example what i want:
<element name="instance" type="s:instance" />
<complexType name="instance">
....
</complexType>
->The generated class should be called Instance.
Thanks,
Matthias
More information about the xsde-users
mailing list