Top "Xml-serialization" questions

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

Convert XML to String and append to page

I want to convert an xml element like this: <asin>​B0013FRNKG​</asin>​ to string in …

javascript xml xml-serialization
XML Serialization and namespace prefixes

I'm looking for a way with C# which I can serialize a class into XML and add a namespace, but …

c# xml-serialization datacontractserializer xmlserializer
Force XmlSerializer to serialize DateTime as 'YYYY-MM-DD hh:mm:ss'

I have a XSD schema for some RESTful service. When used in conjunction with xsd.exe tool to generate C# …

c# .net xml-serialization
PHP Object as XML Document

What is the best way to take a given PHP object and serialize it as XML? I am looking at …

php xml xml-serialization
How do you serialize a string as CDATA using XmlSerializer?

Is it possible via an attribute of some sort to serialize a string as CDATA using the .Net XmlSerializer?

c# .net xml-serialization
Generating XML file using XSD file

How do you generate an XML file from an XSD file?

c# .net xml xsd xml-serialization
How to XML-serialize a dictionary

I have been able to serialize an IEnumerable this way: [XmlArray("TRANSACTIONS")] [XmlArrayItem("TRANSACTION", typeof(Record))] public IEnumerable<BudgetRecord&…

c# .net xml-serialization xmlserializer
Why are properties without a setter not serialized

I have a serializable class and one of the properties in my class generates a Guid in the getter. The …

c# .net xml-serialization
How can I rename class-names via Xml attributes?

Suppose I have an XML-serializable class called Song: [Serializable] class Song { public string Artist; public string SongTitle; } In order to …

c# xml xml-serialization
Proper way to implement IXmlSerializable?

Once a programmer decides to implement IXmlSerializable, what are the rules and best practices for implementing it? I've heard that …

c# xml xml-serialization