Removing duplicate namespaces in XML Literals (Shyam Namboodiripad)
A common problem that one often runs into with XML literals and the LINQ to XML API is duplicate XML namespaces. Consider the following example. The code imports a default XML namespace - “hello”.Code: Imports <xmlns="hello"> Module Module1 Sub Main() Dim x = <A> ...