ashstampede
Programmer
currently i have been using a webrequest to send xml data to a third party web server. They will then send a response in xml format.
My question is with reading an xml fragment, how can i read the root element? what i have so far is
this will give me all the Child elements, sub elements there atttributes and values but not the root element.
how would i read the stream and just get all the xml data and cast to a string?
My question is with reading an xml fragment, how can i read the root element? what i have so far is
Code:
Dim xReadStream as XmlTextReader(webResponseStream)
Dim xmlString as String
while xReadStream.read()
xmlString += xReadString.ReadOuterxml()
end while
this will give me all the Child elements, sub elements there atttributes and values but not the root element.
how would i read the stream and just get all the xml data and cast to a string?