Helping ordinary people create extraordinary websites!


Creating the parser

Creating the parser --  how to create a parser using PHP code or an XML definition file

Using an XML definition file

The examples below demonstrate how to instanciate Console_CommandLine and build a parser using an XML definition file, this can be very useful if you have a big program or if you need to reuse your user interface settings for a web frontend for example.

Note: Using and XML string you would have called fromXmlString()() instead of fromXmlFile()() of course.