Rational Developer for System z

Mapping XML Schema structures to PL/I structures

This section describes how XSD structures are mapped to PL/I structures in the WSDL2PLI scenario.

Typically a PL/I major structure (01-level) is generated to contain all of the PL/I minor structures, elementary variables, and arrays that correspond to XML elements and XML attributes in a source XSD. With few exceptions, the hierarchy of the PL/I major and minor structures generated from the XSD will match that of the XSD.

The mappings in the this topic use the following pseudocode function definitions:

Mapping elementary XML elements

An elementary XML element is one that does not contain other elements, although it can have attributes and character content.

Mapping composed XML elements

A composed XML elements is one that can contain further elementary or composed XML elements and XML attributes.


Feedback