[xsd-users] solution to the visitor custom function? and regex or custom script?

Boris Kolpackov boris at codesynthesis.com
Tue Jul 9 07:49:57 EDT 2013


Hi giuseppe,

giuseppe ferrari <giuseppe500 at yahoo.it> writes:

> --custom-type contact="xml_schema::CustomWrapper<base_contact>/base_contact"
> 
> the solution is partial because i have an xsd(ifc.xsd, an architectural
> format) with more than 2000 classes and i must create a script or something
> that change this line:
> 
> contact="xml_schema::CustomWrapper<base_contact>/base_contact"
> 
> in base of the type for each xsd type, and i don't know how.

The --custom-type-regex option was made exactly for that. As the saying
goes, if it was a snake, it would have bitten you (or perhaps even eaten).

Boris



More information about the xsd-users mailing list