Configure an XML activity

  1. Add an XML activity to the map. See Add an activity.
  2. On the Extended Properties page of the XML activity, click the Configuration tab.
  3. Ensure that Create is selected for Action Type.
  4. To select an XML expression, do one of the following:
    • To specify a dynamic value, consume the variable of XML Expression type in the XML Expression box.

    • To specify a static value, click Static Static and enter a value.

      1. XPath is the only expression type available.

      2. In the Source XML box, either consume a variable of type XML containing the details of the XML document, or specify the path to the XML document.

      3. In the Namespace Bindings box, enter the required namespace bindings.

      4. For XML Document Schema, select either option to specify a schema location:

        • Select Location Variable, and consume a variable of type XML containing the file location in the Location Variable box.

        • Select Location, and enter the XML schema data in the Location box.

          Note By default, no schema is specified.

  5. To specify a value, do one of the following:
    • To create a node, select Node, enter a name for the node in the Name box, and use either a static or dynamic value in the Value Source box.

    • To create an attribute, select Attribute, enter a name for the attribute in the Name box, and use either a static or a dynamic value in the Value Source box.

    • To provide an XML value, select XML and use either a static or a dynamic value in the Value Source box.

      Note You can use variables of any type for node and attribute values. However, for XML values, only variables of String and XML type can be used.
  6. Click Save.