XML documents are fully supported by the mapper.
XML Schema (XSD) can be imported, either with a single file
or a directory of XSD files. Extensive support for namespaces
and namespace prefixes is provided to help organize the
created structures. Importing hundreds of XSD files in
a single import is quick and easy.
Advanced mapping features support
recursive mapping, mixed content, and mapping the XML Any type.
Editing XML Structures
In this example, the use of "non-visible" elements (they are greyed out)
combined with inheritance provides
a simple way to represent the grouping required
by XML schema.
Also note the link on the right to both the inherited structure
(this will open an editor tab) and for the namespace container.
XML Attributes are handled just like any other element
in the structure editor, and they can easily be mapped to
XML Elements and vice-versa.
Also node the values (COPY, ORIGINAL) are shown as elements.
This can be used for validation. The mechanism for values
is the same for XML and EDI code values (and can be used
with any other representation like flat files).
|
Namespace Support
Namespaces are supported using a namespace container
which maps prefixes to the namespace URN. You can
also identify a directory corresponding to the namespace
to better organize the created structures. This is
used for the GS1 Viewer for example.
The import facility reads all of the XSD files together
so that it can make the best determination of the namespace
prefixes to use.
The namespace prefixes can be changed at any time in
one place (the namespace container) and will
be reflected in the structure and map editors and the
actual mapped documents.
|
When importing XSD you get many options for creation
of directories to hold the structures.
|