XML Namespace

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I have an xml present in an XMLDocument object and the xml is in the
format as below

<Root>
<Name>Joe</Name>
<EmployeeID>1</EmployeeID>
</Root>
What I want to do is I want to add a NameSpace to the Root node.
The root expected is something like this

<Root xmlns:xsi="http://www.w3org/2001/XMLSchema-instance">

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top