Topic: How to work with XDocument without explicit instructions Namespace
I receive XML which Elements are in some namespace:
<data xmlns = "namespace__"> <Name> a name </Name> <ID/> </data>
I need to work with the document in the normal image, without constant instructions namespace:
XDocument xDoc = XDocument. Parse (inputString); String name = xDoc. Root. Element ("Name").Value; //later processing
How it becomes?