/xmlcommandparser

A class that binds xml tags to python class methods

Primary LanguagePythonMIT LicenseMIT

xmlcommandparser

A class that binds xml tags to python class methods

Workflow model

Requirements

  • Python 2.7 with the following packages
    • lxml
    • jinja2

Why?

I needed a simple way to let users store, share and edit reports and documents

What it does?

Take an xml file and process it by calling each method associated with the correspondig xml tag. See the simple example

Getting Started

  • Browse the samples folder and launch the simple.py example inside the simple folder. More information
  • Read about the XML formatters
  • Browse the samples folder and launch the formatters.py example inside the formatters folder. More information
  • Read about the Hooks
  • Browse the samples folder and launch the beforeaftercommands.py example inside the beforeaftercommands folder. More information

Getting Help

Feel free to open an issue using the question tag

License

This project is released under the MIT License