Welcome to the XSerializer Project

XSerializer serializes and deserializes objects into and from XML.

XSerializer vs. XmlSerializer

Getting Started

//custom attribute mapping sample
[XBindingElement("book", false, 0, typeof(Book))]
public IList<IBook> Books { get; set; }

//deserialize
IXSerializer xSerializer = new XSerializer();
ILibrary lib = xSerializer.Deserialize("C:\lib.xml", typeof (Library)) as ILibrary;

//serialize
xSerializer.Serialize(lib, "library", "C:\lib.xml");

XCodeGenerator (Code Generator UI)

XCodeGenerator.jpg