XML:getPosition()

Return the a string that is the path to the current element.

Example
path = doc:getPosition()