Top "Xml-serialization" questions

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

Serialize Python dictionary to XML

There is simple JSON serialization module with name "simplejson" which easily serializes Python objects to JSON. I'm looking for similar …

python xml serialization xml-serialization
How to decode string to XML string in C#

I have a string (from a CDATA element) that contains description of XML. I need to decode this string into …

c# .net xml xml-serialization
What is the best way to parse (big) XML in C# Code?

I'm writing a GIS client tool in C# to retrieve "features" in a GML-based XML schema (sample below) from a …

c# xml xml-serialization xmlreader
How do I map XML to C# objects

I have an XML that I want to load to objects, manipulate those objects (set values, read values) and then …

c# xml serialization xml-serialization
.NET XML serialization gotchas?

I've run into a few gotchas when doing C# XML serialization that I thought I'd share: You can't serialize items …

c# xml-serialization
"Type not expected", using DataContractSerializer - but it's just a simple class, no funny stuff?

I'm refactoring my XML-serialization, and figured I'd try the DataContractSerializer. Everything runs smoothly, until it needs to serialize this class: …

.net xml serialization xml-serialization datacontractserializer
Can I make XmlSerializer ignore the namespace on deserialization?

Can I make XmlSerializer ignore the namespace (xmlns attribute) on deserialization so that it doesn't matter if the attribute is …

c# .net serialization xml-serialization
How to add attributes for C# XML Serialization

I am having an issue with serializing and object, I can get it to create all the correct outputs except …

c# xml-serialization
Generating an Xml Serialization assembly as part of my build

This code produces a FileNotFoundException, but ultimately runs without issue: void ReadXml() { XmlSerializer serializer = new XmlSerializer(typeof(MyClass)); //... } Here is …

c# xml xml-serialization
Can I force JAXB not to convert " into ", for example, when marshalling to XML?

I have an Object that is being marshalled to XML using JAXB. One element contains a String that includes quotes ("). …

java jaxb xml-serialization marshalling html-entities