> There is probably a better
way but I dont see the equivilent of "GetDocumentRoot()"
would often be handy as a helper method, but I'm following the XPath navigation
semantics fairly directly: and remember that an Xdm document is in general
well-balanced but not necessarily well-formed.