msv

TREX CONVERTER

MSV TREX Converter is a tool to convert schemas written in various schema languages to their equivalent in TREX.

It supports schemas written in XML DTD, RELAX Core, RELAX namespace, RELAX NG, W3C XML Schema, and TREX itself.

This release includes software developed by the Apache Software Foundation (https://www.apache.org/).

Usage

To convert a schema written in either RELAX Core, RELAX namespace, RELAX NG, or W3C XML Schema, enter the following:

    java -jar rngconv.jar myschema.xsd > result.trex

The converter detects the schema language automatically (except for XML DTDs) and writes the result to “result.trex”.

To convert an XML DTD, enter the following:

java -jar rngconv.jar -dtd myschema.dtd > result.trex

Note that you need the -dtd option.

Known Limitations

[1] Multi-Schema Validator https://xmlark.github.io/msv/core/