XML Data Binding
This 60 second overview shows you the basic concept of generating source code from an XML Schema.
What is XML Data Binding?
XML Data Binding enables you to load XML Documents into a strongly typed object model within your source code.
Meaning fewer coding errors, reduced development and testing time, and an increase in schema conformance and coding reliability.
Liquid XML Objects Features
- Generates an easy to use class library for C# and Visual Basic .Net.
- Generates simple light weight classes which follow the structure of the XML.
- Supports .Net Core, .Net Standard and .Net Framework
- Supports W3C XML Schema for XSD 1.0 and XSD 1.1 standards.
- Support for the most complex XML standards.
- Royalty free distribution of compiled code and runtime.
Advanced XML Code Generator for C# and Visual Basic .Net
Microsoft Visual Studio Integration
Liquid XML Objects provides a direct replacement for Microsoft Visual Studio xsd.exe but with much better XSD 1.0 standard support and also support for the W3C XSD 1.1 standard.
The XML Objects generator is integrated into Visual Studio (2015 and above). Simply add an .xsd file to your C# project and right click the generate button. The XML Object code will automatically be generated and added into your project. Changes to the generation settings or the source XSD will cause the XML Object code to be re-generated.
Light weight code
The generated XML Object code is extremely light weight, containing only attributed classes and properties mapped from the source XSD. The compiled .dlls typically being smaller than the source XSD's.
Embedded XSD Source Code
The compile assembly contains the original XSD source code which can be used to validate XML documents, providing a definitive pre or post validation step (See Validation Using XML Schemas).
Documentation is read from the source XSD xs:annotations and embedded into the generated XML Object source code as structured comments. Free C# Documentation tools such Sandcastle and Doxygen can then produce CHM or Html documentation.
- .Net Standard 2.0 and above
- .Net Core 2.0 and above
- .Net Framework 4.0 and above
- Quick Start Guide
- The Generated Code Explained
- Generating an XML Data Model from an XSD in Visual Studio
- Example : Reading XML
- Example : Writing XML
Royalty Free Distribution
You pay for the development licences only, the compiled code library and associated Liquid Runtime library can be distributed to your customers royalty free as part of your product (see Licence Guide for full details).