x2xmldatabinding/README.md

941 B

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.