This documentation introduces the XSLTools package and the XSLForms framework for developing forms-based Web applications using Python, libxml2dom, libxml2, libxslt and (optionally) WebStack.
First of all, let us assume that the XSLTools distribution has been
unpacked and now sits in the XSLTools-0.4.4
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.4
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.4
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.4
directory sits on your
PYTHONPATH
.
The API documentation for use in conjunction with this
guide can be found inside the apidocs
directory within the XSLTools-0.4.4
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.