Rational Developer for System z

Support for mapping XML attributes

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:
  1. XML attributes contained by repeating, leaf XML elements, cannot be mapped to non-repeating, elementary language structure members.
  2. 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.
  3. 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.
  4. 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.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)