Re: looking for a tool that will split an xsd file containing several complexTypes into separate files

On May 26, 2011, at 3:13 PM, Andy Davidson wrote:

> 
> Hi 
> 
> I have strange problem. Our XSD files are very long. They typically contain a couple of root elements, complexTypes, and simpleTypes. We wrote a code generated that creates a set of OBJC Model class from the XSD. Its similar to JAXB's xjc. Anyway for our build process to run correctly each rootElement, simpleType, and complexType needs to be defined in a separate file.
> 
> It is not possible for us to change our build environment, our core IDE can not figure out how to compile the generated ObjC models if their is not a 1:1 correspondence with a XSD file. The easiest and obvious thing to do would be to re-factor the XSD files manually how ever this solution is not politically acceptable
> 
> Does anyone know of a tool that will split the XSD types into separate files?
> 

should have been "using XSLT would be tricky"

> I think doing this would be tricky, I am not sure how you would correctly generated the required include and import elements
> 
> thanks
> 
> Andy

Received on Thursday, 26 May 2011 22:22:22 UTC