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) [not alpha, i386, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.1.1-12) [not hppa]
    GCC support library
  • dep: libgcc4 (>= 4.1.1-12) [hppa]
    GCC support library
  • dep: libgcj7-0 (>= 4.1.1-12)
    Java runtime library for use with gcj
  • dep: libunwind7 (>= 0.98.5-6) [ia64]
    A library to determine the call-chain of a program - runtime
  • dep: zlib1g (>= 1:1.2.1)
    compression library - runtime
    also a virtual package provided by zlib1g-udeb
  • 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
alpha 20030619-5.1+b1 626.4 kB2480 kB [list of files]
amd64 20030619-5.1+b1 538.1 kB1992 kB [list of files]
arm 20030619-5.1+b1 480.1 kB1440 kB [list of files]
hppa 20030619-5.1+b1 715.6 kB2688 kB [list of files]
i386 20030619-5.1+b1 527.4 kB1620 kB [list of files]
ia64 20030619-5.1+b1 763.3 kB3500 kB [list of files]
mips 20030619-5.1+b1 713.1 kB2948 kB [list of files]
mipsel 20030619-5.1+b1 695.2 kB2948 kB [list of files]
powerpc 20030619-5.1+b1 567.2 kB1832 kB [list of files]
s390 20030619-5.1+b1 541.1 kB1636 kB [list of files]
sparc 20030619-5.1+b1 522.8 kB1592 kB [list of files]