xml-serialization
XML de-serialization using xml element/attributes
Need your help in setting the xml attributes for XML deserialization. This is my input xml: <form>[详细]
2023-04-13 08:25 分类:问答XStream conversion exception on a xml date and time string
The XML i trying to convert looks like: <?xml version=\"1.0\" encoding=\"utf-8\"?> <ArrayOfTrafiklage>[详细]
2023-04-13 06:37 分类:问答OmitXmlDeclaration in XmlWriter and implementing IXmlSerializable
I want to create custom xml serialization by implementing IXmlSerializable. I\'ve got this test class that implements IXmlSerializable interface:[详细]
2023-04-12 17:04 分类:问答How can I deserialize an object from an XML string?
I\'m trying to deserialize an object back from it\'s XML string using xmlSerializer.Deserialize() but the returned object is always blank开发者_Go百科 (not null, but all the properties are null or 0).[详细]
2023-04-12 11:55 分类:问答I thought Object was a unknown typed object? Not in XmlSerializationWriter
I have a webservice that always returns a ReturnObject that is a class I have written like this: public class ReturnObject[详细]
2023-04-11 08:48 分类:问答Remove xsi:type from generated xml when serializing
I am sending XML externally. One of the node called \"datafield\" has an element called \"value\". This may contain normal text content, or an html content (which I need to wrap in CData).[详细]
2023-04-11 07:51 分类:问答c# Parsing XML issue
I am using this code to try and read this XML below, but it is not read anything in the foreach loop and skipping that. Thanks.[详细]
2023-04-11 04:18 分类:问答Serialize an Enumeration to an XML Attribute
I\'m generating >100 classes from a lot of XSD\'s to build our test harness application for internal testing. I\'m using XSD.exe to generate these classes, as doing it by bring in too much risk and it[详细]
2023-04-11 01:19 分类:问答HttpWebREquest XMLSerialzation POST request sending partially null properties to REST service
I implemented a method which makes POST request to my REST services. It serializes the passed object using XML serialization, but at server side half of the properties become null, and first 3 propert[详细]
2023-04-10 11:07 分类:问答WCF and XmlSerialization and XmlWriterSettings
I have a REStful WCF web service (using a substantially modified WCF Rest Starter Kit) and the data contracts are simple POCOs marked with [Serializable] and [XmlType] (with members tagged with [XmlEl[详细]
2023-04-10 10:01 分类:问答