Top "Xml-serialization" questions

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

XML (de)serialization invalid string inconsistent in c#?

In C# (.net 4.0 and 4.5 / vs2010 and vs12) when I serialize an object containing a string having an illegal character using …

c# xml-serialization xmlserializer illegal-characters
How do I give an array an attribute during serialization in C#?

I'm trying to generate C# that creates a fragment of XML like this. <device_list type="list"> <…

c# xml-serialization xml-attribute
Predefine XML namespaces for DataContractSerializer

I'm building a self hosted WCF service. I'm building a special data structure for a very flexible transport of data. …

c# xml-serialization xml-namespaces datacontractserializer
Deserialize xml to object with Symfony2

I collect some data in xml format through an API and would like to deserialize it in an objects list. …

php xml symfony xml-serialization xml-deserialization
How to set root node name when XmlSerializing an array?

I have an array of objects which I want to serialize as XML. These objects are annotated to set XML …

.net xml-serialization root
XML Serialization of the default values of optional attributes

I have a set of classes build using xsd.exe, and I am trying to serialise them. However, an attribute …

c# .net serialization xml-serialization xsd.exe
Convert a list of objects to an xml string

Hello I have a list of object i want to convert into an xml. Here is what the final xml …

c# xml xml-serialization xelement
Delphi Classes to XML representation:

Using Delphi XE: XML data binding wizard generates Delphi class based on XML/XSD - works great. BUT I also …

xml delphi xml-serialization delphi-xe xsd.exe
Using IXmlSerializable interface on complex object graph

If using custom XML Serialization (IXmlSerialiable), on a complex object that contains properties with constituent complex objects which do NOT …

.net xml ixmlserializable xml-serialization
C# XML Serializable Collection

I got the below XML (It is just a part of a big XML where I have my problem) that …

c# list xml-serialization ofx