XML:goParent()

Move the current position to be the parent of the current node.

Example

doc:parse(str)
doc:goPath('/foo/bar/baz')
doc:goParent()
if doc:getPath() != '/foo/bar' then
    error('Invalid!',0)
end