Top "Xml-serialization" questions

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

How can I make the xmlserializer only serialize plain xml?

I need to get plain xml, without the <?xml version="1.0" encoding="utf-16"?> at the beginning and xmlns:xsi="…

c# .net xml-serialization xml-declaration
XmlSerializer: The string '' is not a valid AllXsd value

I'm getting this message,"The string '7/22/2006 12:00:00 AM' is not a valid AllXsd value.", when deserializing an XML, the element …

c# .net xml-serialization
XML Serialization and Inherited Types

Following on from my previous question I have been working on getting my object model to serialize to XML. But …

c# xml inheritance serialization xml-serialization
What is MyAssembly.XmlSerializers.dll generated for?

I am working on a project which generates an assembly. I just noticed that an additional assembly *.XmlSerializers.dll is …

c# visual-studio-2008 xml-serialization
Is it possible to customize the namespace prefix that JAXB uses when marshalling to a String?

For example, I've got a simple schema which imports another schema. The second schema (urn:just:attributes, just-attributes.xsd) just …

xml-serialization jaxb java-metro-framework jaxb2
XML Serialization of List<T> - XML Root

First question on Stackoverflow (.Net 2.0): So I am trying to return an XML of a List with the following: public …

c# xml xml-serialization root generic-list
C# Deserialize XML to object

Having problems deserializing some xml into an object in C#. The error that I receive is... xmlns=''> was …

c# xml xml-serialization xmlserializer deserialization
Deciding on when to use XmlDocument vs XmlReader

I'm optimizing a custom object -> XML serialization utility, and it's all done and working and that's not the …

c# xml-serialization xmldocument xmlreader
Is there a reason why a base class decorated with XmlInclude would still throw a type unknown exception when serialized?

I will simplify the code to save space but what is presented does illustrate the core problem. I have a …

c# .net xml-serialization
Ignore a property during xml serialization but not during deserialization

In C#, how can I make XmlSerializer ignore a property during serialization but not during deserialization? (Or how do I …

c# .net xml-serialization json.net deserialization