Configure an XML activity
Use the following procedure to configure an XML activity.
-
Add an activity to the map.
By default, the Configuration tab is open in the properties panel of the activity.
- Change the default Name of the activity to something meaningful.
- On the Type list, select .
-
To add a node, attribute, or XML, ensure that
Create is selected for
Action type.
To modify or delete the node or attribute, select Update or Delete respectively.
-
On the
XML expression list, do one of the following:
-
Select a variable.
-
Provide a static value.
-
XPath is the only Expression type available.
-
In the Source XML box, either select a variable of type XML containing the details of the XML document or specify the path to the XML document.
-
In the Namespace bindings box, enter the required namespace bindings.
-
To specify a schema location, select Use document schema, and select an XML variable or specify the XML schema data in the Location field.
By default, no schema is specified.
-
-
-
Select one of the following for
Value.
-
Node
-
Attribute
-
XML
-
- Enter a name for the node/attribute/XML.
-
On the
Value source list, select a dynamic value or provide a static value.
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.
- Save the process map.