Create Empty Node (Containing Child Node)
-
Hello. I want to create a new node which has child node. This is not just an element. I am doing it liek this but get
System.ArgumentException
XmlDocument doc = new XmlDocument();
string sNodeString = "" +
"" +
"" +
"" +
"" +
"" +
"" +
"" +
"" +
"";
XmlNode node = doc.CreateNode(sNode, "NewNode", "");
return node;How could I do something like this? Thanks for anything.
This world is going to explode due to international politics, SOON.
-
Hello. I want to create a new node which has child node. This is not just an element. I am doing it liek this but get
System.ArgumentException
XmlDocument doc = new XmlDocument();
string sNodeString = "" +
"" +
"" +
"" +
"" +
"" +
"" +
"" +
"" +
"";
XmlNode node = doc.CreateNode(sNode, "NewNode", "");
return node;How could I do something like this? Thanks for anything.
This world is going to explode due to international politics, SOON.