Hi, new to generateDS and wondering if it can help with this. I want to develop an XML authoring system which shows the user a list of valid options based on an XML Schema.
I've done this once before, long ago, used XSLT to translate the XSD to an XML "template" that a PHP web app. used to offer the user valid choices for adding elements etc. The speed was marginal, so I translated the whole thing to C++, which was no faster :-} This time my from scratch approach would be to use Python / lxml to generate a JSON serializable data structure for the "template", and Python / Django for the app. interface. But I'm wondering if generateDS or some of its components can handle the XSD -> "template" step. The member_data_items_ member is a step in the right direction, but doesn't have enough detail for min/maxOccurs, choice vs. sequence etc. etc. Is there a point where I can tap in to generateDS to answer the question: at node /some/node/path the valid attributes are ... and the valid elements are ...? With min/maxOccurs and other structure / constraint info. available. Thanks, Terry ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users