Imports
Imports System
Imports System.Xml
Imports System.Xml.Schema
Module Module1
Sub Main()
Dim aw As XNamespace = XNamespace.Get("http://www.domain.com")
' This is the preferred form.
Dim aw2 As XNamespace = GetXmlNamespace(aw)
Console.WriteLine(aw)
Console.WriteLine(aw2)
End Sub
End Module