Download Source Package trang:
Trang converts between different schema languages for XML. It supports the following languages:
* RELAX NG (XML syntax) * RELAX NG compact syntax * XML 1.0 Document Type Definitions (DTDs) * W3C XML Schema
A schema written in any of the supported schema languages can be converted into any of the other supported schema languages, except that W3C XML Schema is supported for output only, not for input.
Trang can also infer a schema from one or more example XML documents.
Trang is constructed around an RELAX NG object model designed to support schema conversion. For each schema language supported for input, there is an input module that can convert from the schema language into this internal object model. Similarly, for each schema language supported for output, there is an output module that can convert from the internal object model in the schema language.
Trang aims to produce human-understandable schemas; it tries for a translation that preserves all aspects of the input schema that may be significant to a human reader, including the definitions, the way the schema is divided into files, annotations and comments.
This package may be particularly useful for converting DTDs for use with nxml-mode, as that package requires RELAX NG schemas for the full features of its context-sensitive editing functions to be available.
|
|
|
| Architecture | Version | Package Size | Installed Size | Files |
|---|---|---|---|---|
| amd64 | 20030619-6.1 | 1,295.7 kB | 5172 kB | [list of files] |
| armel | 20030619-6.1 | 1,356.8 kB | 4852 kB | [list of files] |
| i386 | 20030619-6.1 | 1,132.3 kB | 4012 kB | [list of files] |
| ia64 | 20030619-6.1 | 1,946.6 kB | 11696 kB | [list of files] |
| m68k (unofficial port) | 20030619-6 | 1,037.6 kB | 3924 kB | [list of files] |
| mips | 20030619-6.1 | 1,170.5 kB | 6416 kB | [list of files] |
| mipsel | 20030619-6.1 | 1,145.5 kB | 6416 kB | [list of files] |
| powerpc | 20030619-6.1 | 1,180.0 kB | 4784 kB | [list of files] |
| s390 | 20030619-6.1 | 1,123.2 kB | 4012 kB | [list of files] |
| sparc | 20030619-6.1 | 1,152.6 kB | 4904 kB | [list of files] |