Page 1 of 1
XML instances to XML Schema
Posted: Sun Oct 19, 2003 11:09 am
by spullara
The feature list implies that Oxygen can take an XML instance and produce an XML schema for it. All I can find is a way to make a DTD from an XML instance and no way to convert that DTD to an XML schema nor any way to convert an instance directly to a schema. Since this is one of the reasons I got the program I hope that I just can't find it.
Sam
Posted: Sun Oct 19, 2003 5:51 pm
by george
Hi Sam,
Check out the Plugins/Trang menu action. You should be able to select as input one of the following:
- a set of XML documents
- a DTD
- a Relax NG schema (either XML or compact syntax)
and you can get as output one of the following:
- an XML schema
- a DTD
- a Relax NG schema (either XML or compact syntax)
Best Regards,
George
Thanks
Posted: Sun Oct 19, 2003 10:12 pm
by spullara
Thanks, I eventually found it and it worked great for my document. Not the most intuitive thing since I didn't know what Trang was. However, now I can't find it when I use it in Eclipse. Is this one of the features that isn't available in the Eclipse plug-in?
Sam
Posted: Mon Oct 20, 2003 1:14 am
by george
Hi Sam,
Currently TRANG is integrated as a plugin for the desktop version, that is it is not available in the Eclipse plugin version. The next release will integrate it closely, you will have a "Convert to..." action on the toolbar that will show the conversion dialog with the current edited file as input and after the conversion the result file may be opened automatically in the editor. The "Convert to..." action will be available also in the Eclipse plugin version.
Best Regards,
George