Top "Xml-serialization" questions

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

Serialize an object to XML

I have a C# class that I have inherited. I have successfully "built" the object. But I need to serialize …

c# xml-serialization
Serialize an object to string

I have the following method to save an Object to a file: // Save an object out to the disk public …

c# string serialization xml-serialization
Convert XML String to Object

I am receiving XML strings over a socket, and would like to convert these to C# objects. The messages are …

c# xml xml-parsing xml-serialization
XML Serialize generic list of serializable objects

Can I serialize a generic list of serializable objects without having to specify their type. Something like the intention behind …

c# list generics xml-serialization
{"<user xmlns=''> was not expected.} Deserializing Twitter XML

I'm pulling in the XML from Twitter via OAuth. I'm doing a request to http://twitter.com/account/verify_credentials.…

c# twitter xml-serialization
Using StringWriter for XML Serialization

I'm currently searching for an easy way to serialize objects (in C# 3). I googled some examples and came up with …

c# sql-server xml utf-8 xml-serialization
Serializing an object as UTF-8 XML in .NET

Proper object disposal removed for brevity but I'm shocked if this is the simplest way to encode an object as …

c# xml utf-8 xml-serialization
Is it possible to deserialize XML into List<T>?

Given the following XML: <?xml version="1.0"?> <user_list> <user> <id>1</id&…

c# serialization xml-serialization xml-deserialization
Reading from memory stream to string

I am trying to write an object to an Xml string and take that string and save it to a …

c# xml-serialization xmlserializer memorystream
Checking if an object is a number in C#

I'd like to check if an object is a number so that .ToString() would result in a string containing digits …

c# .net serialization xml-serialization