XML Poke
XMLPoke
The XMLPoke function writes to one or more XML nodes in an XML Document.
Properties
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
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
The XML formatted string to read.
This property is only displayed if XML source is set to 'String'.
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
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
Value to replace contents of matching nodes.
Return XML
If selected, the updated XML string will be provided as the function's output results.
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'.
Links
Last updated