Top "Xml-serialization" questions

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

How to add an XML namespace (xmlns) when serializing an object to XML

I'm serializing Objects to XML with the help of XStream. How do I tell XStream to insert an xmlns to …

java xml-serialization xml-namespaces xstream
Suppressing namespace prefixes in ElementTree 1.2

In python 2.7 (with etree 1.3), I can suppress the XML prefixes on elements like this: Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on …

python xml xml-serialization elementtree
How to write a comment to an XML file when using the XmlSerializer?

I have an object Foo which I serialize to an XML stream. public class Foo { // The application version, NOT the …

c# .net xml xml-serialization xmlserializer
XmlSerializer Deserializing Array/List of Multiple Objects at Root

I'm trying to deserialize the following XML output: <?xml version="1.0" encoding="ISO-8859-1"?> <Foo> <Val&…

c# serialization xml-serialization xmlroot
QR codes Limits

I have to generate codes with custom fields: id of field+name of field+values of the field. How long …

json xml-serialization barcode qr-code
How can I XML Serialize a DateTimeOffset Property?

The DateTimeOffset property I have in this class doesn't get rendered when the data is represented as Xml. What do …

.net xml-serialization
XML Serialization - XmlCDataSection as Serialization.XmlText

I am having problems serializing a cdata section using c# I need to serialize XmlCDataSection object property as the innertext …

c# xml xml-serialization cdata
XmlSerialization and xsi:SchemaLocation (xsd.exe)

I used xsd.exe to generate a C# class for reading/writing GPX files. How do I get the resultant …

c# xsd xml-serialization xsd.exe gpx
What is the benefit of turning Generate Serialization Assemblies off?

The Generate Serialization Assemblies option in Visual Studio creates a MyAssembly.XmlSerializers.dll when my project is built. This question (…

visual-studio build xml-serialization options
Remove "d1p1" namespace prefix in DataContractSerializer XML output

I'm using DatacontractSerializer to serialize my domainModel into a xml file. I'm getting output like below. <z:anyType xmlns:…

serialization namespaces xml-serialization prefix wcf-serialization