The Save action saves XML information from the FactBase to a file.
The Save action takes two parameters. The first (from location) is the XPath to the XML node to be saved: the save operator will save the entire document tree under this node. The second operator is the name of the file to save to, which may either be specified directly (document), or provided as an XPath to a string value contained within the FactBase detailing the filename (XPath to document).
The filename may be an absolute file path (such as C:\myfiles\filetosave.xml) or it may be relative as in the example below. Relative file paths will be saved under the runtime location of this agent (node). We do not recommend using absolute paths however as this creates a dependency on the structure of the runtime environment.