XML Template
|
The button
opens the
Event Action Select XML Template form,
which allows you to select and load the XML template to use with the XML data
being extracted. You can also type the XML template in this field manually, or
paste it from another source.
An XML template is an XML fragment that has the same
structure as a single row of data in the XML from which the data is to be
extracted. This XML fragment can thus serve as a template for that row of data.
The field displays the XML template as a single
string.
|
XML
|
The button
opens an instance of the
Event Action Expression Editor.
The XML referred to here is the XML string from which
data is to be extracted.
When this type of event action is part of an event
handler:
- With a BodOnReceive event, a commonly used function
is BODXML(), which extracts data from the inbound Business Object Document
(BOD).
- You can also:
- Use the FILECONTENTS() function to read in the
contents of a fixed XML file.
- Use the XML() function to construct an XML string
from another collection.
- Reference a variable or parameter.
- Manually type a fixed XML string into the field.
|
Path
|
The button
opens an instance of the
Event Action Set Extract XML
Collection form that allows you to set the extraction path for the
XML.
This path is to one or more nodes in the XML string
under which the data resides for the rows to be extracted. This is expressed in
XML Path Language (XPath) syntax.
See
Setting an extraction path for XML data.
|
Property Map
|
The button
opens an instance of the
Event Action Set Extract XML
Collection form that allows you to create one or more sets of
property name/value pairs that map values to be extracted from the XML string
to properties in each row of the resulting collection.
The property map consists of a list of comma-separated
pairs. Each pair, in turn, consists of a property name and a path separated by
an equals sign.
|
Result Set
Assignment
|
The button
opens the
Event Action Set Result Set ID form,
which allows you to provide a name for the set of records that result from the
processing of this event action.
|