Initializing help system before first use

getparent

getparent


Purpose
Get the parent of a node.
Synopsis
function getparent(doc:xmldoc, n:integer):integer
Arguments
doc 
Document to use
Node number
Return value
The node number of the parent node or -1 if n=0 (root node has no parent).
Example
See getattr.
Related topics
Module