Using an XML Element in a Schema File in an Event Payload

To use an XML element in a schema file as the root element of the event payload, you will have to perform the following actions.

Procedure

  1. In the event's Advanced tab, click the Add (+) button. You see a root node in the left panel.
  2. In the Content field, select XML Element Reference.
  3. In the Schema field click the Browse (binocular) button.
  4. You see the Select a Resource dialog. Depending on the XML schema files available in the project, multiple entries may be grouped according to location (on the By Location tab) and namespace (on the By Namespace tab). Select one XML schema resource from either of these tabs.
  5. In the Element panel, select the element you want to use as the root element for the payload. (You can also change this in the Payload section of the Event's Advanced tab.)
  6. Click OK to return to the Advanced tab. The word root in the left panel is now replaced with this element name.
  7. Save the resource.