void xmlTreeCleanup(xmlDoc doc [, int options])
xmlDocto remove unlinked orphans from
1will cause verbose messages to be printed about what it's cleaning up
xmlTreeCleanup() can be used in very specific circumstances to
assist with memory management of XML trees. Most code will never need
to call this.
If you have a situation where:
xmlDocthey came from is freed. Calling
xmlDocto free any unlinked nodes that do not have any Vortex variables set to them.
<$ret = (xmlTreeCleanup($doc))>