I'm trying to do the functional equivalent of IsNodeDocument(IXPathNavigable
myNode, IXPathNavigable potentialRoot), but I can't seem to get any
comparisons that will work. If I use MoveToRoot(), I lose the state of
myNode, but SelectAncestors(XPathNodeType.Root, true/false) won't work on an
attribute.