Developing Web Applications with XSLTools

This documentation introduces the XSLTools package and the XSLForms framework for developing forms-based Web applications using Python, libxml2dom, libxml2, libxslt and (optionally) WebStack.

Setting Up

First of all, let us assume that the XSLTools distribution has been unpacked and now sits in the XSLTools-0.4.6 directory.

Before we begin, we must make sure that the XSLTools package is available to Python. The easiest way to do this is to change into the XSLTools-0.4.6 directory and to run the setup.py script provided with the version of Python you are going to be using (possibly as a privileged user like root):

cd XSLTools-0.4.6
python setup.py install

If you don't want to install XSLTools in this way, or if you can't do so because you don't have root privileges, you can just make sure that the XSLTools-0.4.6 directory sits on your PYTHONPATH.

Viewing the API Documentation

The API documentation for use in conjunction with this guide can be found inside the apidocs directory within the XSLTools-0.4.6 directory. Of course, it is always possible to view the API documentation within Python by importing modules (such as XSLTools.XSLOutput) and using Python's built-in help function.

About XSLForms Applications