XElement GetNamespaceOfPrefix gets the namespace associated with a particular prefix for this XElement
Imports Module Module1 Sub Main() Dim xmlTree As XElement = Dim awNamespace As XNamespace = GetXmlNamespace(aw) Console.WriteLine("Namespace: {0}", awNamespace) End Sub End Module