[xsde-users] custom dateTime and time types?
Boris Kolpackov
boris at codesynthesis.com
Tue Apr 19 10:32:30 EDT 2011
Hi,
dv <dv7777 at gmail.com> writes:
> with XSD, I can use --custom_type dateTime and --custom_type time to
> tell the generator not to use the built-in xsd cxx types for dateTime
> and time - in the generated header, it just writes "class time;" and
> "class date_time;" , which is what I want.
>
> XSD/e does not do the same. It simply ignores these options, and still
> writes "::xsde::cxx::time" and "::xse::cxx::date_time". Is there a way
> to achieve the desired behavior with XSD/e?
In XSD/e you can only customize generated types. If your schema does
not use the date/time types in too many places, then you may want to
customize types that contain them to return the desired objects.
Boris
More information about the xsde-users
mailing list