EDN Admin
Well-known member
Hi, there!
I created a default namespace (using VB code):
<pre class="prettyprint lang-vb Imports <xmlns="myNamespace [/code]
The "problem" with is this approach is that every time that I insert an element in Xml file, the code add the namespace
"myNamespace" as attribute of the inserted element.
Im using Linq do add elements to Xml file. I want that Xml file has global namespace and avoid to create a namespace for every element that I insert in Xml file.
Is it possible and how?
Best regards,
<
Ciro
<br/>
View the full article
I created a default namespace (using VB code):
<pre class="prettyprint lang-vb Imports <xmlns="myNamespace [/code]
The "problem" with is this approach is that every time that I insert an element in Xml file, the code add the namespace
"myNamespace" as attribute of the inserted element.
Im using Linq do add elements to Xml file. I want that Xml file has global namespace and avoid to create a namespace for every element that I insert in Xml file.
Is it possible and how?
Best regards,
<
Ciro
<br/>
View the full article