XML instances to XML Schema

Having trouble installing Oxygen? Got a bug to report? Post it all here.
spullara

XML instances to XML Schema

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
spullara
Posts: 1
Joined: Sun Oct 19, 2003 10:10 pm
Location: San Francisco
Contact:

Thanks

Post 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
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
Post Reply