etch  ] [  etch-m68k  ] [  squeeze  ] [  sid  ]
[ Source: trang  ]

Package: trang (20030619-5.1 and others)

Multi-format XML schema converter based on RELAX NG

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.

Home Page: http://www.thaiopensource.com/relaxng/trang.html

Tags: Implemented in: Java, Purpose: Data Conversion, Supports Format: XML

Other Packages Related to trang

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.3.5-1)
    GNU C Library: Shared libraries
  • dep: libgcc2 (>= 4.1.1-12)
    GCC support library
  • dep: libgcj7-0 (>= 4.1.1-12)
    Java runtime library for use with gcj
  • dep: zlib1g (>= 1:1.2.1)
    compression library - runtime
  • sug: nxml-mode
    Emacs mode for editing XML documents using RELAX NG schemas

Download trang

Download for all available architectures
Architecture Version Package Size Installed Size Files
m68k 20030619-5.1+b1 576.8 kB1704 kB [list of files]