This might be duplicate since my question seems so trivial, but I haven't been able to find the answer here on stackoverflow.com.
I have an XElement with data like this:
<abc:MyElement>My value</abc:MyElement>
Question: How do I get the complete name with prefix as a string from the XElement?
Expected result:
abc:MyElement
XmlElement
. But since I am using anXElement
it doesn't work :) – Audwin