Free Online XSD to C# Code Generator

Creates a set of C# classes to serialize XML data.

The Free Community Edition of Liquid XML Data Binder comes with an advanced C# Code Generator, to generate code C# from an XML Schema (XSD).

XML Schema (XSD)

For code generation options please download the full version of Liquid XML Data Binder
Output namespace
Generate unprocessed node handlers
Generate a common base class
Write default values for optional attributes
Write default values for optional elements
Write source location comments
Generation model
...  

Data Security Warning - Tick this box to confirm you understand all data is stored on our servers for processing and may be retained for service improvement.

If you have sensitive data, please Download the Free Liquid Studio Community Edition and use the tools directly from your desktop.

Dependencies

The generated code is dependant on the Nuget 'LiquidTechnologies.XmlObjects.Runtime'
IMPORTANT: The Nuget version must be , i.e. it must match the version shown in the LxRuntimeRequirements object within the code.

Getting started

The generated objects are serialized via the LxSerializer objects, see the quick start guide.
LxSerializer<BookstoreElm> serializer = new LxSerializer<BookstoreElm>();
BookstoreElm bookstore = serializer.Deserialize(@"..\..\BookstoreSample.xml");
serializer.Serialize(@"..\..\UpdatedBookstoreSample.xml", bookstore);

Licensing

The schema is to large to be generated using the Free Community Edition.

The code has been generated using a sample/evaluation license which is time limited.

To use this code commercially please purchase a license for Liquid XML Data Binder

Generated C# Code


    
WORKING

Document Valid

Errors

Severity Location Filename Message