spssxmlworkspace.DeleteXmlWorkspaceObject Function (R)

spssxmlworkspace.DeleteXmlWorkspaceObject(handle). Deletes the XPath dictionary DOM or output DOM with the specified handle name. The argument is the name associated with this DOM, as defined by a previous CreateXPathDictionary function call or IBM® SPSS® Statistics OMS command.

Example

handles <- spssxmlworkspace.GetHandleList()
for(handle in handles)
   spssxmlworkspace.DeleteXmlWorkspaceObject(handle)