davidmoten / xsd-forms

Generates web forms from xml schema documents (xsd)
137 stars 51 forks source link

Feature Request: Support for multi-file xml schemas #23

Open jarl-dk opened 7 years ago

jarl-dk commented 7 years ago

I have an XSD where the file serves as the top-level file and contains the root-element definition, but it includes directly and inderictly many other XSD files.

For example I have

<xs:include schemaLocation="../class/Note.xsd"/>
holagvk commented 7 years ago

@jarl-dk did you manage a workaround? Am looking for the exact same use case.

davidmoten commented 7 years ago

PR welcome if you want to try to support but remember that xsd-forms only supports limited features of xsd so the normal expectation is to have a ui-focused xsd schema for xsd-forms that you then translate server-side to your data model (based on the multi-file schema that uses many features of xsd).