declaring xml URI's using System.Xml

  • Thread starter Thread starter Felix
  • Start date Start date
F

Felix

I'm looking to creat a node declaration that is similar in format to:
<Root xmlns="mynamespace"
xmlns:o="mynamespaceo"
xmlns:x="mynamespacex"
xmlns:y="mynamespacey">

I can't seem to find anything in System.Xml or MSDN that shows how to
add the URI declarations to a node. Any help would be greatly
appreciated.
 
I assume you are using System.Xml.XmlDocument.

The XML DOM implementation will automatically take care of the
XML namespace declarations needed according to the namespace URI identifiers
used
in the document.
 

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