How to get NameTable from XDocument?
It does not have a NameTable property that has an XmlDocument.
EDIT: Judging by the lack of an answer, I guess I might miss the point.
I am making XPath requests against XDocument like this ...
document.XPathSelectElements("//xx:Name", namespaceManager);
It works fine, but I need to manually add the namespaces that I want to use in the XmlNamespaceManager, instead of retrieving the existing sets from the XDocument, as if you were with an XmlDocument.
c # xml xpath linq-to-xml
Simon Keep Jun 01 '09 at 11:43 2009-06-01 11:43
source share