Top "Xml-serialization" questions

This tag refers to serialization technologies which use XML as a data format.

.Net XmlSerializer: deserialize CDATA being inner text

I have a problem with CDATA deserialization using standard .Net XmlSerializer. Update: I get XML from external system and I …

c# .net xml-serialization cdata
How to rename <ArrayOf> XML attribute that generated after serializing List of objects

I am serializing List of objects List<TestObject> , and XmlSerializer generates <ArrayOfTestObject> attribute, I want rename …

c# xml xml-serialization
Deserialize XML string to Object Error : There is an Error in xml document (1,2)

From windows event viewer I can get the following xml structure: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/…

c# .net windows xml-serialization xmlserializer
Save file - xmlSerializer

I'm creating a method to serialize a file using this code: public void Save(Object file, Type type, String path) { // …

c# xml serialization xml-serialization streamwriter
What is an object graph and how do I serialize one

I've been reading lately about serialization. I've read that when I use XmlSerialization I cannot serialize object graphs. What is …

.net serialization xml-serialization
Change the order of elements when serializing XML

I need to serialize an Object to XML and back. The XML is fix and I can't change it. I …

c# xml list xml-serialization
What's the best serialization method for objects in memcached?

My Python application currently uses the python-memcached API to set and get objects in memcached. This API uses Python's native …

python serialization xml-serialization memcached protocol-buffers
Invalid XML Character During Unmarshall

I am marshalling objects to XML file using encoding "UTF-8". It generates file successfully. But when I try to unmarshal …

java xml-serialization jaxb unmarshalling
Why is the XmlWriter always outputting utf-16 encoding?

I have this extension method public static string SerializeObject<T>(this T value) { var serializer = new XmlSerializer(typeof(…

c# xml-serialization xmlwriter
.net XML Serialization - Storing Reference instead of Object Copy

In .Net/C# Application, I have data structures which have references to each other. When I serialize them, .Net Serializes …

c# .net xml xml-serialization