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.
 
Back
Top