2.249 .path

Returns a string representation for the position of the XML Cursor in the DOM tree. The :select() method can be called with this string in order to position an XML Cursor to that node in the DOM tree.

Definition

  • Data type

    string

  • Access

    get

If the value of the .path attribute is stored elsewhere (e.g. in the .userdata attribute), it is important to know that the stored value will not be adjusted when the structure of the DOM tree changes. When the :select() method is called with the stored value after this, the XML Cursor will end up pointing to an incorrect DOM node.