DocToDOM Function

These are examples of DocToDOM function of documents loading into process data.

The following example shows an XML document loading in to process data:


<process name = "DocToDOM_Example1"> 
  <sequence>
    <assign to="." from="DocToDOM(PrimaryDocument)" />
  </sequence>
</process>

Load a portion of an XML document into process data. The XPath query does not reference the document element following the DocToDOM call. The nodes returned are stored under the Testpoint tag:


<process name = "DocToDOM_Example2"> 
  <sequence>
    <assign to="Testpoint" from="DocToDOM(PrimaryDocument)/Test4" />
  </sequence>
</process>