This topic describes the ability for Enterprise Service
Tools Single-service projects Compiled XML Conversion to support XML2LS
and LS2XML conversion of XML attributes in the meet-in-middle scenario.
Note: For Rational® Developer
for System z® V7.6, this
support only applies to XML to COBOL mapping.
This ability applies to the Single-service projects meet-in-middle
scenario for all runtimes and application modes supported by Compiled
XML Conversion.
The following are the mapping rules for XML attributes:
- XML attributes contained by repeating, leaf XML elements, cannot
be mapped to non-repeating, elementary language structure members.
- XML attributes contained by repeating, leaf XML elements, can
be mapped to elementary language structure members that are contained
by a group with equal or greater repetitions.
Note: Dimensions of parent
elements and groups must also meet this criteria.
- XML elements with "mixed" content, mixed="true", are not eligible
to be mapped to any language structure member. For a detailed discussion,
refer to XML attribute support limitation.
- An XML attribute can be mapped to a COBOL ODO (occurs depending
on) object only when the attribute is contained by an XML element
that appears before the XML element that is mapped to the corresponding
COBOL ODO subject.