Path to this page:
./
textproc/trang,
Multi-format schema converter based on RELAX NG
Branch: pkgsrc-2011Q3,
Version: 20090818,
Package name: trang-20090818,
Maintainer: pkgsrc-usersTrang converts between different schema languages for XML. It
supports the following languages:
* RELAX NG (XML syntax)
* RELAX NG compact syntax
* XML 1.0 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.
Required to run:[
lang/openjdk7] [
textproc/jing]
Required to build:[
archivers/unzip]
Master sites:
SHA1: 8f2f06d12af171ab9fb59b38a793fa11e9cbd33a
RMD160: cb851f3912e68a77a4716f50e5edd1a412efa726
Filesize: 1054.159 KB
Version history: (Expand)
- (2011-10-04) Package added to pkgsrc.se, version trang-20090818 (created)