Reference namespace in XElement
Imports <xmlns:aw='http://www.domain.com'> Module Module1 Sub Main() Dim root As XElement = _ <aw:Root> <aw:Child>content</aw:Child> </aw:Root> Console.WriteLine(root) End Sub End Module