Initial import of ruby18-xslt-0.9.5 as textproc/ruby-xslt.
[pkgsrc.git] / textproc / trang / DESCR
1 Trang converts between different schema languages for XML. It
2 supports the following languages:
3
4     * RELAX NG (XML syntax)
5     * RELAX NG compact syntax
6     * XML 1.0 DTDs
7     * W3C XML Schema
8
9 A schema written in any of the supported schema languages can be
10 converted into any of the other supported schema languages, except
11 that W3C XML Schema is supported for output only, not for input.
12 Trang can also infer a schema from one or more example XML documents.
13
14 Trang is constructed around an RELAX NG object model designed to
15 support schema conversion. For each schema language supported for
16 input, there is an input module that can convert from the schema
17 language into this internal object model. Similarly, for each schema
18 language supported for output, there is an output module that can
19 convert from the internal object model in the schema language.
20
21 Trang aims to produce human-understandable schemas; it tries for
22 a translation that preserves all aspects of the input schema that
23 may be significant to a human reader, including the definitions,
24 the way the schema is divided into files, annotations and comments.