XML Poke
XMLPoke
Section titled “XMLPoke ”The XMLPoke function writes to one or more XML nodes in an XML Document.
Properties
Section titled “Properties ”XML source
Section titled “XML source ”XML source controls where the function reads the input XML from, and can be one of the following values:
- File
Reads from the XML file defined in the XML file property - String
Reads from an XML formatted string defined in the XML string property.
XML file
Section titled “XML file ”The path to an XML file which will be read by the function.
This property is only displayed if XML source is set to ‘File’.
XML string
Section titled “XML string ”The XML formatted string to read.
This property is only displayed if XML source is set to ‘String’.
XPath
Section titled “XPath ”XPath is a string conforming to the XML path language format.
It is used to select which nodes are read by the function.
Namespaces
Section titled “Namespaces ”An optional string defining any XML namespaces for prefixes used in the XPath property.
Namespaces should be defined in the format [prefix]=“[URI]”.
Multiple definitions should be separated by a space.
Replace with
Section titled “Replace with ”Value to replace contents of matching nodes.
Return XML
Section titled “Return XML ”If selected, the updated XML string will be provided as the function’s output results.
Update File
Section titled “Update File ”If selected, the changes made by this function will be written back into the XML file.
This option is only displayed when XML source is set to ‘File’.