Though the DOM can be navigated with xpath commands, an improved API would allow navigation of the tree without resorting to it.
Eg.
getchildren() - returns list of child tag Nodes
getattributes() - returns list of attribute Nodes
getparent() - returns parent Node
Though the DOM can be navigated with xpath commands, an improved API would allow navigation of the tree without resorting to it. Eg. getchildren() - returns list of child tag Nodes getattributes() - returns list of attribute Nodes getparent() - returns parent Node