View Full Version : Model Generation tools from XML schemas

22 Aug 2011, 2:23 PM

I am working with an REST-ful API that returns XML. I have a set of Relax NG schemas that describe the XML objects faithfully. These schemas are currently under a lot of change, so I would like to use tools that make keeping the consumption of the API as up-to-date as possible. In particular, I would like to generate my Model code using these schemas.

Has anyone written any tools for generating Javascript prototypes from XML schemas? My use-case for such a tool would be as an off-line process. Whenever we have an upstream schema change, I would like to take the published updated schemas, run the model-generating script, and use that to update my Ext JS application.

13 Dec 2013, 5:17 AM
Hi There,

I've got the same questions. And as your questions is already a long time ago, did you find a solution for this?

I've just posted this question:

T (http://www.sencha.com/forum/showthread.php?278397-Generate-Model-(and-Store)-classes-from-PHP-YAML-ORM-Model-classes)hanks!