I have a schema which names all its elements and complexTypes in capital letters and so all my class names are also in caps.
Can you let me know how to capture this and name the classes in CamelCase?
Ex: Snippet of XSD :
<xs:element name="REGISTRATION_DATE">
<xs:complexType mixed="true">
<xs:attribute name="UNIT" />
</xs:complexType>
</xs:element>
Currently it is generating as : REGISTRATIONDATE . But I would like to generate class as : RegistrationDate .
Regards, Satya
There is a plugin for XJC to do this - the CamelCase Always plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With