Get string into xmldatadocument
Posted on 2003-02-28
Ok here goes...
I have a web service that returns a custom xml string.
Something like this:
<Data> <data1>1234</data1> <data2>875</data2> </Data>
Now what I would like to do is get this string back to my asp.net app and then grab the data2 value from the string. But in order to do this, I need to be able to load this string into an xmldatadocument. At least that is what I think but I'm not sure. Anyway, can someone post a code snippet in VB that shows how to load the string into the object and how to get the data2 value back out and put into a string? If this is not enough info, please let me know and I will provide any additional info.