spss.CreateXPathDictionary Function (Python)

spss.CreateXPathDictionary(handle). Creates an XPath dictionary DOM for the active dataset that can be accessed with XPath expressions. The argument is a handle name, used to identify this DOM in subsequent spss.EvaluateXPath and spss.DeleteXPathHandle functions.

Example

handle='demo'
spss.CreateXPathDictionary(handle)
  • The XPath dictionary DOM for the current active dataset is assigned the handle name demo. Any subsequent spss.EvaluateXPath or spss.DeleteXPathHandle functions that reference this dictionary DOM must use this handle name.