User Profile
Collapse
-
That does the trick. Thank you!!... -
how to deserialize a xml stream
I am able to deserialize a local XML file by passing a textReader object to the xmlSerializer.D eserialize method.
My problem Iis that I need to pass a XML file path in form of a URL instead of a local file. I use a webRequest class to read the file, code as below:
// Create a 'WebRequest' object with the specified url.
WebRequest myWebRequest = WebRequest.Crea te(xmlPath);
... -
.net XmlSerializer - not able to get the deserialize result
Hello,
I am trying to use XmlSerializer to deserialize an xml file and then use a loop to access the content. With the help of xsd.exe, a serializer class is generated and I am able to use that to deserialize the following xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes "?>
<layercatalog >
<category jcode="aaa">
<layerList>...
No activity results to display
Show More
Leave a comment: