NavigateThe C# Code generatorTestimonials

XMLBooster's C# Code generator

The C# code generator included in XMLBooster to handle efficient parsing/unparsing. Its features are :

  • Generates a validating parser (to convert an XML input to a valid C# data structure) as well as an unparser (to convert the C# data structure back to an XML stream).
  • Generates standard C# code, that can be compiled on the .NET platform.
  • Generates a convenient and strongly typed interface to access the information parsed by XMLBooster.
  • XML enumerated values are converted to C# enumerated values, thereby reducing the impedance mismatch considerably.
  • The generated code is documented in ndoc format, so that the API can be easily navigated using existing tools.
  • Uses user-defined classes for collections and strings. By default, XMLBooster uses classes provided by the standard C# library.
  • Inheritance in terms of elements is mapped onto equivalent inheritance relationships for the corresponding generated classes.
  • All instances are created through calls to a user-redefinable factory, so that subclassing can be used to add behaviour to the objects that are created as part of the parse tree.
  • Fully supports regular expressions: a data element can be attached to a regular expression, which will be used to validate the data fetched from the incoming XML message at parse time.


© 2002-2007 XMLBooster -- the fast XML parser generator -- comments to webmaster@xmlbooster.com