Integration Server 10.5 | Built-In Services Reference Guide | XML Folder | Summary of Elements in this Folder | pub.xml:freeXMLNode
 
pub.xml:freeXMLNode
WmPublic. Frees the resources allocated to a given XML node.
You can optionally call this service when you are using a NodeIterator to iterate over an XML node and you decide to stop processing the node before reaching the end. By explicitly calling pub.xml:freeXMLNode, you immediately free the resources associated with the node instead of waiting for Java garbage collection to do this. Although it is not mandatory to call this service when you finish processing an XML node with a NodeIterator, doing so can boost server performance. Note that after you have freed an XML node using this service, the node becomes unstable and should not be used by any subsequent processes.
Input Parameters
rootNode
XML node or enhanced XML node whose resources you want to release. This parameter supports the following types of input:
*com.wm.lang.xml.Document An XML node whose resources you want to release.
*enhanced XML node An enhanced XML node whose resources you want to release.
Specify the same type of input that you supplied to pub.xml:getXMLNodeIterator.
Output Parameters
None.