Converting Between Grammar Languages

The Generate/Convert Schema tool (available in the Tools menu, allows you to convert a DTD or Relax NG (full or compact syntax) grammar to an equivalent XML Schema, DTD, or Relax NG (full or compact syntax) grammar. When an exact equivalence is not possible due to limitations of the target language, Oxygen will generate an approximation of the source grammar.

A grammar being edited can be converted if that grammar can be the subject of a supported conversion. For example, if the tool is invoked while editing a DTD document, the following dialog box will appear:

Convert to ...

You can set the target language of the conversion and the target grammar name.

Advanced options allow you to customize various other conversion parameters.

Advanced options