![]() My problem is that result of deserialization is list of items of type XmlElement, so if I try to access their properties, I can't easy do that. Var myObject = (LandXML) mySerializer.Deserialize(myFileStream) TextReader myFileStream = new StreamReader("myFile.xml") My code for deserialization looks like: var mySerializer = new XmlSerializer(typeof (LandXML), new XmlRootAttribute("")) XSD Schema I've used can be found at, and sample file can be found at. ![]() ![]() I've created classes from XSD Schema using xsd.exe (also tried with xsd2code which had better results in a way that they worked immediately, and with xsd.exe I have to debug some errors).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |