xml-deserialization
Loading XML is VERY slow
I inherited a data-storage which was using simple text-files to save documents. Documents had some attributes (date, title, and text), and these were encoded in a filename: <date>-<title>.txt,[详细]
2023-01-12 11:22 分类:问答Using XML decorations to specify default values during de-serialization
I have a problem deserializing some XML; the XML supplied by a third party is quite verbose, so if there is no value set for an particular element, it will supply and empty element (e.g. <element1[详细]
2023-01-11 13:16 分类:问答deserialization of just serialized data fails, why?
I am trying to serialize and deserialize objects in silverlight, but cannot seem to get it to work. Serializing works just fine but it complains about my rootObjectnot being expected. I don\'t get it[详细]
2023-01-11 02:18 分类:问答XmlSerializer: How can I allow a property to deserialize, but then stop it from serializing?
That is, I\'d like my data to go one way - feed into a class, but then prevent it from saving out during开发者_如何学JAVA a serialize operation.What\'s the best way to go about that?The simplest way i[详细]
2023-01-10 17:02 分类:问答using XmlArrayItem attribute without XmlArray on Serializable C# class
I want XML in the following format: <configuration><!-- Only one configuration node --> <logging>...</logging><!-- Only one logging node -->[详细]
2023-01-08 20:17 分类:问答C# XML De serialization and arrays
There is next xml file: <element Name=\"root\"> <SubFields> <element Name=\"subroot\">[详细]
2023-01-06 15:19 分类:问答Can XmlTextReader tell the difference between <tag> and <tag />
I am reading an XML file using an XMLTextReader. Is there a way to tell the difference between a start tag (lik开发者_如何学Goe <tag>) and a self-terminating tag (like <tag />)If you mean[详细]
2023-01-04 22:38 分类:问答Namespaces and deserialization issue
UPDATE:You can run the code at the end of this to recreate and see the error I am having and hopefully solve it![详细]
2023-01-04 20:07 分类:问答XML Serialize and Deserialize Problem XML Structure
Camarades, I\'m having the following problem. Caught a list Struct, Serialize (Valid W3C) and send to a WebService. In the WebService I receive, transform to a string, valid by the W3C and then Deser[详细]
2023-01-04 07:04 分类:问答How to rebuild C# Class from XML
I would like to save an instance of a c#.NET class in SQL for later retrieval. I am able开发者_StackOverflow中文版 to use LINQ to SQL to add a record complete with all the xml that makes up the class.[详细]
2023-01-03 02:33 分类:问答