1
0
mirror of synced 2024-12-03 16:13:08 +01:00
Go to file
2023-11-09 14:52:07 +01:00
Docs Added readme and some basic documentation 2020-12-16 14:55:36 +01:00
Forms remove x2utils dependency 2021-03-19 18:16:49 +01:00
Tests Added: xsd:base64binary supports 2008-07-20 12:07:18 +00:00
Units add SimpleTypeMapping rules for all built-in datatypes according to https://www.w3.org/TR/xmlschema-2/ (no additional conversions) 2023-11-09 14:52:07 +01:00
XSD Added support for changing string properties to enumerations 2020-04-22 12:26:47 +02:00
.gitignore update ignore files 2021-02-01 13:40:58 +01:00
README.md Update README.md 2021-03-19 18:25:00 +01:00
UNLICENSE Added license 2020-12-16 09:22:24 +01:00
X2XMLDataBinding_Icon.ico Added: FS#14 - LoadFromFile/Stream methods missing for Base64Binary properties 2014-08-25 18:26:12 +00:00
X2XMLDataBinding.bdsproj Added: xsd:base64binary supports 2008-07-20 12:07:18 +00:00
X2XMLDataBinding.dpr remove x2utils dependency 2021-03-19 18:16:49 +01:00
X2XMLDataBinding.dproj remove x2log dependency 2021-03-19 18:22:25 +01:00
X2XMLDataBinding.mes Added: testing for expected items 2008-03-12 06:31:09 +00:00
X2XMLDataBindingCmdLine.bdsproj Fixed: support for global elements of a complex type 2008-03-31 21:15:13 +00:00
X2XMLDataBindingCmdLine.dpr Merged last changes into trunk 2008-04-18 14:36:17 +00:00
X2XMLDataBindingCmdLine.mes Added: base for unit tests 2008-03-10 16:04:46 +00:00

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.