Skip to content

Small and simple programm to generate delphi code from one or more xsd files.

License

Notifications You must be signed in to change notification settings

bierbaumtim/xsd-delphi-code-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delphi Code Generator

Usage

Single File genphi -i test.xsd -o test.pas --unit-name test --mode xml

Multiple Files genphi -i test.xsd -i types.xsd -o test.pas --unit-name test --mode xml

XML Support

Supported Features

  • Namespaces
  • Union Types
  • Enumerations
  • Simple Types as TypeAlias or Derived Type
  • Complex Type
    • Inheritance
    • ComplexContent
    • Sequence
  • Attributes
  • Built-In DataTypes (string, boolean, decimal, float, double, dateTime, time, date, hexBinary, base64Binary)
  • Built-I derived DataTypes (Integer, nonPositiveInteger, negativeInteger, long, int, short, byte, nonNegativeInteger, unsignedLong, unsignedInt, unsignedShort, unsignedByte, positiveInteger)

Planned support

  • xs:choice for xs:complexType
  • xs:element->nillable(xs:nil)
  • xs:list -> currently partially supported

Not planned

  • References
  • Groups (xs:group)
  • Any (xs:any)
  • AnyAttribute
  • AttributeGroup(?)
  • xs:pattern

About

Small and simple programm to generate delphi code from one or more xsd files.

Topics

Resources

License

Stars

Watchers

Forks

Packages