I need to build a tool that will parse an XML schema into some tree-like data structure so that we may traverse this tree and build GUI's on the fly. These GUI's may be java swing, FXML, etc.
The GUI will offer a composite-pattern heirachy of Forms represtend the structure defined by the schema.
Right now I'm using java's w3c DOM parser and parsing the XML Schema myself but this is turning out to be a daunting task as the possible scenarios I need to account for is exploding.
To summarize: I need a way to take an XML Schema (XSD file) and turn it into a data structure that represents the XML layout described by the schema.
No comments:
Post a Comment