Schema and code generation in Oxygen/xml

Hello, I'm a new Oxygen user and I apologize in advance if I haven't read enought. I went throught samples codes and exemples and skimmed throught the manual but I have found the following two features (I'm a switcher from XML Spy): Is it possible to generate a (approximative but valid) schema from a sample XML document? And on the opposite, give a schema, is it possible to generate a valid XML document with random data in it? (XML Spy has this nice feature ;-) ) Is it possible to generate Java classes (+helper functions) from a schema to process a XML document that is schema-valid? Many thanks for your help. Pierre ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

Hello, Pierre Mareschal wrote:
Hello,
I'm a new Oxygen user and I apologize in advance if I haven't read enought. I went throught samples codes and exemples and skimmed throught the manual but I have found the following two features (I'm a switcher from XML Spy):
Is it possible to generate a (approximative but valid) schema from a sample XML document? And on the
The are two possibilities: - use the integrated Trang converter to generate a schema of type XML Schema, Relax NG (full or compact syntax), DTD: http://www.oxygenxml.com/doc/ug-standalone-en/editing-xml-documents.html#con... - learn a DTD from the edited document: http://www.oxygenxml.com/doc/ug-standalone-en/editing-xml-documents.html#lea...
opposite, give a schema, is it possible to generate a valid XML document with random data in it? (XML Spy has this nice feature ;-) )
In the latest version (6.0) it is possible only to set user preferences for inserting automatically required tags, optional tags, required attributes, fixed attributes, first choice particles when a new document is created. See http://www.oxygenxml.com/doc/ug-standalone-en/opening-and-closing-documents.... http://www.oxygenxml.com/doc/ug-standalone-en/configuring-the-editor.html#ta... Filling the document with random data is on our TODO list.
Is it possible to generate Java classes (+helper functions) from a schema to process a XML document that is schema-valid?
Also on our TODO list :-)
Many thanks for your help.
Pierre
Best regards, Sorin <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com/
participants (2)
-
Pierre Mareschal
-
Sorin Ristache