IBM Support

XML-INTO enhancement for namespaces and other non-RPG names

General Page

You are in: RPG Cafe > XML-INTO namespaces

Short URL for this page:

RPG Cafe: XML-INTO namespaces

XML-INTO namespaces and other non-RPG names

Namespace options "ns" and "nsprefix"

This enhancement provides support for some new XML-INTO options to deal with namespaces and with other XML names that do not map to RPG names.

  • There are two new XML-INTO options to handle XML names containing a namespace.
    • The namespace option, "ns", controls how XML-INTO handles XML names with a namespace when it is matching XML names to the names in the path option or the subfield names of a data structure.
    • The namespace prefix option, "nsprefix", allows your RPG program to find out the values of the namespaces that were removed from the XML names when the "ns=remove" option was used to remove the namespace from the names.
  • Also, the new value "case=convert" for the "case" option handles non-RPG characters in XML names

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"Component":"ILE RPG Compiler","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
06 February 2020