M
marcy
I have an application in which I create an XML formatted
data through an asp page and my .Net desktop application
retrieves the data in the following form:
HttpWebRequest request = (HttpWebRequest)
WebRequest.Create(myuri);
request.Method = "POST";
Stream stream = request.GetRequestStream();
// we must close the stream to actually initiate
sending the request
stream.Close();
// get the response from the server
HttpWebResponse response = (HttpWebResponse)
request.GetResponse();
// parse the xml settings into properties
XmlDocument settings = new XmlDocument();
settings.Load(response.GetResponseStream());
Can I make sure that XmlDocument.Load maintains the order
of all the sibling nodes under a parent node, or the
order of the sibling nodes can be random?
data through an asp page and my .Net desktop application
retrieves the data in the following form:
HttpWebRequest request = (HttpWebRequest)
WebRequest.Create(myuri);
request.Method = "POST";
Stream stream = request.GetRequestStream();
// we must close the stream to actually initiate
sending the request
stream.Close();
// get the response from the server
HttpWebResponse response = (HttpWebResponse)
request.GetResponse();
// parse the xml settings into properties
XmlDocument settings = new XmlDocument();
settings.Load(response.GetResponseStream());
Can I make sure that XmlDocument.Load maintains the order
of all the sibling nodes under a parent node, or the
order of the sibling nodes can be random?