yeah i know that for working with loadxml we need one <root> tag
here I have written one web service which willfetch data from backend and send to client in xml doc format (with out newdataset tag) for that i have done folllowing steps:
1.fetching dataset from backend(say loDs is a dataset)
2.Use Getxml() to convert it in string xml document.
3.now i'm using loadxml an using this i'm getting
<NewDataSet>
<table1>
</table1>
<table2>
</table2>
</NewDataSet>
Now i have to delete the new dataset tag so i'm taking firstchild.Innerxml to remove the Newdataset tag.bt doing this the output i'm getting is in string xml format but i want it in Xml doc format..
4.so i have one string value which dont have any root element (i.e
<NewDataSet>
</NewDataSet>
)..So how i convert it in Xml doc format with C sharp code is there any other way instead of using Load Xml ..Please suggest somthing.I am terribly stuck.Time is running away.My client want this output data without the Newdataset tag.please help me....