First you need to know what encoding your bytes are in -- either ASCII/ANSI (like an ISO-8859-1 encoding) or Unicode (UTF-8 or UTF-16). You would then run it thru the ToString method of either the System.Text.UTF8Encoding or System.Text.ASCIIEncoding class, depending.
Once you have it in a string, you can load it into a XmlDocument via it's LoadXml method.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.