My app is creating an entire XML document through the code. I want
the root node to look as follows:
<MyService xmlns:xi="http://www.w3.org/2003/XInclude">
....
</MyService
I can't seem to get the :xi to be put into the xml though, so it looks
like this:
<MyService xmlns="http://www.w3.org/2003/XInclude">
What am I doing incorrectly ? here is the code:
newXMLDoc.AppendChild(newXMLConfigDoc.CreateXmlDec laration("1.0", "",
""))
xElem = newXMLDoc.CreateElement("ServiceProperty", "http://
www.w3.org/2003/XInclude")
newXMLDoc.AppendChild(xElem)
How do I get the :xi in there ?
Mark