W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Dynamic XML document builder assistant

From: fabien heinis <fabien_heinis@hotmail.com>
Date: Thu, 11 Mar 2004 17:44:43 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <Law9-OE31FI1ZG5yoVT0001d422@hotmail.com>

I am actually working on an Applet that displays an XML document. I would like to add a new functionnality: Create from 'scratch' an XML document that is compliant with a given Schema or DTD. The problem is to build the xml document interactively. For example, the GUI would initially display the root element (JTree) and suggest the possible childs, attributes via a contextual menu for example (right button click on the node). The user woudl be able to build step by step a new document. Therefore, the created XML document should be a valid document.
What would be the best way to retrieve information from Schema or DTD like :
- selected element possible child elements for a given element
- selected element possible attribute
- cardinality information

I would appreciate a lot any suggestion or help that could help me to build such an applet.

Received on Thursday, 11 March 2004 11:46:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC