That API reads a XML text and triggers the standardized SAX2 events.
Follow the steps :
All those developments are released under Cecill licence.
The project Forms Generator is available on a svn, contact me for more information. In the future, a project might be created on sourceforge.