Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How to Save an XML Document for Future Reference |
Page 2 of 2 |
Retrieving an XML document persisted with a “save” statement is as easy as saving it in the first place.

A retrieval statement begins with the keyword “retrieve” and is otherwise identical to a “save” statement. It checks for the present of data paired with the retrieval key and, if one exists, dumps it into the specified variable. In our case, this means that the “my-vehicle-doc” XML document is pulled from a file store and placed in the variable “ov.”
This persistance mechanism is useful not just for documents, but for anything that can be placed in a variable. This includes XML elements, numbers, character strings, SOAP messages—even arrays.
|
|
|