fnogatz / xsd2json

Translate XML Schema into equivalent JSON Schema
MIT License
149 stars 28 forks source link

Handle multiple top-level xs:element nodes #16

Closed fnogatz closed 7 years ago

fnogatz commented 9 years ago

According to http://www.w3schools.com/xml/schema_example.asp it is possible to specify multiple top-level xs:element nodes. Use anyOf to handle them. See http://stackoverflow.com/questions/8854144/xml-schema-root-element.

fnogatz commented 7 years ago

This was added today in version v1.10.0.