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

Package: trang (20030619-6.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.

Tags: Implemented in: Java, User Interface: Command Line, : qa::old-rc-bugs, Role: Program, Purpose: Data Conversion, Works with: Text, Supports Format: XML

Other Packages Related to trang

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.5-5) [m68k]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.7-1) [not ia64, m68k]
  • dep: libc6.1 (>= 2.7-1) [ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.1.1-21) [not armel, m68k]
    GCC support library
    dep: libgcc1 (>= 1:4.3) [armel]
  • dep: libgcc2 (>= 4.2.1-1) [m68k]
    Package not available
  • dep: libgcj-bc (>= 4.3.0-1)
    Link time only library for use with gcj
  • dep: libgcj9-0 (>= 4.3)
    Java runtime library for use with gcj
  • dep: libstdc++6 (>= 4.3) [armel]
    The GNU Standard C++ Library v3
  • dep: libunwind7 (>= 0.98.5-6) [ia64]
    A library to determine the call-chain of a program - runtime
  • dep: zlib1g [m68k]
    compression library - runtime
    dep: zlib1g (>= 1:1.1.4) [not m68k]
  • 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
amd64 20030619-6.1 1,295.7 kB5172 kB [list of files]
armel 20030619-6.1 1,356.8 kB4852 kB [list of files]
i386 20030619-6.1 1,132.3 kB4012 kB [list of files]
ia64 20030619-6.1 1,946.6 kB11696 kB [list of files]
m68k (unofficial port) 20030619-6 1,037.6 kB3924 kB [list of files]
mips 20030619-6.1 1,170.5 kB6416 kB [list of files]
mipsel 20030619-6.1 1,145.5 kB6416 kB [list of files]
powerpc 20030619-6.1 1,180.0 kB4784 kB [list of files]
s390 20030619-6.1 1,123.2 kB4012 kB [list of files]
sparc 20030619-6.1 1,152.6 kB4904 kB [list of files]