You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mark van Renswoude d86bfbb276
Merge pull request #2 from wiphi/dev-remove-dependencies
3 months ago
Docs Added readme and some basic documentation 6 months ago
Forms remove x2utils dependency 3 months ago
Tests Added: xsd:base64binary supports 13 years ago
Units remove x2log dependency 3 months ago
XSD Added support for changing string properties to enumerations 1 year ago
.gitignore update ignore files 4 months ago
README.md Update README.md 3 months ago
UNLICENSE Added license 6 months ago
X2XMLDataBinding.bdsproj Added: xsd:base64binary supports 13 years ago
X2XMLDataBinding.dpr remove x2utils dependency 3 months ago
X2XMLDataBinding.dproj remove x2log dependency 3 months ago
X2XMLDataBinding.mes Added: testing for expected items 13 years ago
X2XMLDataBindingCmdLine.bdsproj Fixed: support for global elements of a complex type 13 years ago
X2XMLDataBindingCmdLine.dpr Merged last changes into trunk 13 years ago
X2XMLDataBindingCmdLine.mes Added: base for unit tests 13 years ago
X2XMLDataBinding_Icon.ico Added: FS#14 - LoadFromFile/Stream methods missing for Base64Binary properties 7 years ago

README.md

X²XMLDataBinding

an alternative to the Delphi built-in XML data binding generator with a few benefits.

Key features

  • Proper namespace support
  • Output to a single file or multiple files, allowing types to be reused when included from several root schemas
  • Has properties for optional elements and attributes
  • IsNil properties for xsi:nil elements
  • Def methods to safely read optional values with a default
  • Read and write enumeration properties as a typed enum or raw text
  • Proper boolean support
  • Much improved support for date/time values
  • Support for Base64 encoded values
  • Basic validation for outputting XML documents which applies element order for sequences and checks for the presence of required elements
  • Influence the generator by using a Hints file

Dependencies

  • Works up from Delphi XE2

Documentation is available on ReadTheDocs.