[xsd-users] parser xsd file recursively

Li, Xiaoxing (GE Global Research) lixia at ge.com
Tue Apr 24 19:26:35 EDT 2012


Hello, 

 

I am trying to use xsd 3.3.0 to generate c++ mapping for a set of .xsd
files defined recursively. I.e, I have a "all.xsd", where a bunch of
other xsd files are included as

 

<xs:include schemaLocation="SomeXMLSchema.xsd"/>.

 

I tried to use

 

]$ ..bin/xsd cxx-parser --xml-parser expat all.xsd,

 

but the c++ mappings are not generated for all the included files. I am
wondering if there is a way of parsing all the xsd files recursively
using xsd 3.3.0. Any information will be greatly appreciated. 

 

Best

 

Ginger



More information about the xsd-users mailing list