addFunctionTable(SubsetFunctions)
and used as in
doc[[0]]
doc[["path"]] //get a list of all child nodes of doc
// whose tag name is path
doc.getAttributes()[[0]] //first attribute of list
doc.getAttributes()[["foo"]] // attribute named foo
XML/Scripts/Examples/
directory.