Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The XML Techniques component is designed to provide an example of useful techniques for parsing and generating XML files using the https://interfaceware.atlassian.net/wiki/x/AYDqs. These include strategies for:

  • Retrieving elements that match specific conditions, particularly if there are repeated elements

  • Retrieving element values and supplying default values if those elements or values are missing

  • Creating and populating new elements (text, CDATA, etc.) and attributes

Component Setup:

Expand
titleImport the XML Techniques component

Create a Component

Expand
titleClick "Edit" on the component card to open the Translator and view the script

Once in the Translator, take a look at the parsed sample xml and how the various techniques are used to read and modify the message.