xml-serialization
Exception with Simple XML framework deserialization
I\'m facing a problem to deserialize an XML file which have successfully been serialized with the Simple XML Serialization framework (simpleframework.org).[详细]
2023-04-06 08:53 分类:问答.NET How to serialize a TimeSpan to XML (not the same question!)
My question is a continuation of How to serialize a TimeSpan to XML I have many DTO objects which pass TimeSpan instances around. Using the hack described in the original post works, but it requires[详细]
2023-04-06 06:46 分类:问答How to manage XML serialization exceptions for enum
I\'m using XML serialization to produce a file in a开发者_开发技巧 format specific to another application. One of the requirements is that all booleans be represented as 1 or 0. I\'ve looked at some p[详细]
2023-04-06 01:46 分类:问答serialize and store object in another object that implements IXmlSerializable
I would like to XML serialize instances of my object Exception and store it in the XMLNode[] Nodes property of another object ExceptionReport.[详细]
2023-04-05 22:58 分类:问答Deserialize classes with the same name from different assemblies
I am getting the following runtime error: Types \'PaymentPortal.Payments.DataObjects.Address\' and \'OurWebApp.eProc.DataFormat.Entities.Address\' both use the XML type name, \'Address\', from names[详细]
2023-04-05 22:44 分类:问答How would I deserialize some class from XML (file), and vice versa?
I have the following class and data members (plus irrelevant methods) I am new to XML and .NET (that excuse is getting old though) and have spent a couple of days reading the MSDN entries (and whateve[详细]
2023-04-05 07:08 分类:问答Serialize elements of an array but not the array (XMLSerizlization)
I have a simple array that I need to serialize as part of a larger object. public class Holder { 开发者_JAVA百科public int ID { get; set; }[详细]
2023-04-04 21:30 分类:问答Can SPRING.NET create an XML file, given the object I want to use for IoC?
I want Spring.NET to generate a matching XML file for the following class : public class MyClass { public int Id { get; set; }[详细]
2023-04-04 14:37 分类:问答How to multiply two string fields in JasperReports?
How do I multiply two fields of type string (say, price and quantity) to obtain a result of type double? How to write this in an XML file?[详细]
2023-04-04 09:16 分类:问答Control XML Serialization format with a specific method
I have a DateTime and a subclass that I want formatted specifically on XML serialization. Normally, without specifying anything, serialization of a DateTime would just follow the current culture, but[详细]
2023-04-04 09:14 分类:问答