This package is used to generate C++ classes (headers) mapped to the components of an input XML Schema.


It uses the xsd command of the mono tools to create the C++ files from an .xsd file located in the xsd directory of your project.


Needed packages

This package does not need any additional packages.

Needed software

  • mono-devel


To automatically generate C++ files from your XSD-schema add this package as a dependency to your project. In your project's CMakeLists.txt add the following lines:


For this to work you need to store the XSD-file (created according to the W3C specifications) you want to convert in a directory called xsd in the base directory of your project. Now build your project and the generated files will be located in the xsd_gen directory in your project's base directory.

Wiki: asr_xsd2cpp (last edited 2017-05-23 12:04:44 by TobiasAllgeyer)