pdk.flow.Xml
contains functions to operate with XML variables
This functions are based on Java org.w3c.dom
package classes.
https://docs.oracle.com/en/java/javase/11/docs/api/java.xml/org/w3c/dom/package-summary.html
You can always rely on Java documentation and examples!
All functions
mappingToVariable
parses a simple XML document provided in a pdk.core.String format and assigns the parsed data to a variable.
Please use this function only for simple XMLs. For complex XMLs, use functions from the pdk.flow.xml.* packages.
Arguments:
xmlAsString :: pdk.core.String
variable :: pdk.core.UserObject
Result:
No variable is returned. The input variable contains data from xml
Possible exceptions
NullPointerException - throws if the input xmlAsString is
NULL
Example:
Last updated