Skip to content

XML Poke

The XMLPoke function writes to one or more XML nodes in an XML Document.

XML source controls where the function reads the input XML from, and can be one of the following values:

  1. File
    Reads from the XML file defined in the XML file property
  2. String
    Reads from an XML formatted string defined in the XML string property.

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’.

The XML formatted string to read.

This property is only displayed if XML source is set to ‘String’.

XPath is a string conforming to the XML path language format.

It is used to select which nodes are read by the function.

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.

Value to replace contents of matching nodes.

If selected, the updated XML string will be provided as the function’s output results.

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’.

Wikipedia: XML

Wikipedia: XML Path Language

Wikipedia: XML Namespaces