A Andreas Håkansson Mar 24, 2004 #2 Pei, If your string is wellformed xml then you could create an XmlDocument from it by using XmlDocument doc = new XmlDocument(); doc.LoadXml(myString); where myString is the string which contains your wellformed xml data. Hope this helps, //Andreas
Pei, If your string is wellformed xml then you could create an XmlDocument from it by using XmlDocument doc = new XmlDocument(); doc.LoadXml(myString); where myString is the string which contains your wellformed xml data. Hope this helps, //Andreas
R Ravichandran J.V. Mar 24, 2004 #3 Use the XMLDocument object and load the string xmDocObj.Load("String") with regards, J.V.Ravichandran - http://www.geocities.com/ jvravichandran - http://www.411asp.net/func/search? qry=Ravichandran+J.V.&cob=aspnetpro - http://www.southasianoutlook.com - http://www.MSDNAA.Net - http://www.csharphelp.com - http://www.poetry.com/Publications/ display.asp?ID=P3966388&BN=999&PN=2 - Or, just search on "J.V.Ravichandran" at http://www.Google.com
Use the XMLDocument object and load the string xmDocObj.Load("String") with regards, J.V.Ravichandran - http://www.geocities.com/ jvravichandran - http://www.411asp.net/func/search? qry=Ravichandran+J.V.&cob=aspnetpro - http://www.southasianoutlook.com - http://www.MSDNAA.Net - http://www.csharphelp.com - http://www.poetry.com/Publications/ display.asp?ID=P3966388&BN=999&PN=2 - Or, just search on "J.V.Ravichandran" at http://www.Google.com
J Jon Skeet [C# MVP] Mar 24, 2004 #4 Ravichandran J.V. said: Use the XMLDocument object and load the string xmDocObj.Load("String") Click to expand... Not quite - it's the LoadXml method. Load(string) will treat the given string as a URL.
Ravichandran J.V. said: Use the XMLDocument object and load the string xmDocObj.Load("String") Click to expand... Not quite - it's the LoadXml method. Load(string) will treat the given string as a URL.