Exporting XML grammar specification

APaGeD can export the grammar specification formatted in XML. Those files can for example be processed with XSLT to generate HTML. An example XSLT file is in doc/apd2html.xsl.

To generate the XML file, pass the -gx <filename> option to APaGeD. Optionally, you can pass -n to avoid generating the parser itself.