Imports namespace for XElement
Imports <xmlns="http://www.domain.com"> Module Module1 Sub Main() Dim root As XElement = <ElementName>content</ElementName> Console.WriteLine(root) End Sub End Module