It's sometimes convenient to just use an otherwise regular XDocument for
simpler querying via CSS or XPath, but XML namespaces complicates things.
Expose the functionality we already have for those two operations but for
regular XML documents too, not only HTML.