Parse XML Documents into XML Nodes
Essentially a recursive call to getNodeSet .
docsToNodes(docs, xpath)
docs
xpath
Useful links