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.Appen dChild(newXMLCo nfigDoc.CreateX mlDeclaration(" 1.0", "",
""))
xElem = newXMLDoc.Creat eElement("Servi ceProperty", "http://
www.w3.org/2003/XInclude")
newXMLDoc.Appen dChild(xElem)
How do I get the :xi in there ?
Mark
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.Appen dChild(newXMLCo nfigDoc.CreateX mlDeclaration(" 1.0", "",
""))
xElem = newXMLDoc.Creat eElement("Servi ceProperty", "http://
www.w3.org/2003/XInclude")
newXMLDoc.Appen dChild(xElem)
How do I get the :xi in there ?
Mark
Comment