paulb@106 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
paulb@106 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
paulb@106 | 3 | <head> |
paulb@119 | 4 | |
paulb@119 | 5 | |
paulb@106 | 6 | <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" /> |
paulb@119 | 7 | |
paulb@119 | 8 | |
paulb@119 | 9 | |
paulb@106 | 10 | <title>Developing Web Applications with XSLTools</title> |
paulb@119 | 11 | <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> |
paulb@119 | 12 | |
paulb@119 | 13 | |
paulb@106 | 14 | <link href="styles.css" rel="stylesheet" type="text/css" /> |
paulb@106 | 15 | </head> |
paulb@119 | 16 | |
paulb@119 | 17 | |
paulb@106 | 18 | <body> |
paulb@119 | 19 | |
paulb@106 | 20 | <h1>Developing Web Applications with XSLTools</h1> |
paulb@119 | 21 | |
paulb@106 | 22 | <p>This documentation introduces the XSLTools package and the XSLForms |
paulb@119 | 23 | framework for developing forms-based Web applications using Python, <a href="http://www.boddie.org.uk/python/libxml2dom.html">libxml2dom</a>, |
paulb@119 | 24 | libxml2, libxslt and (optionally) <a href="http://www.boddie.org.uk/python/WebStack.html">WebStack</a>.</p> |
paulb@119 | 25 | |
paulb@106 | 26 | <h2>Setting Up</h2> |
paulb@119 | 27 | |
paulb@106 | 28 | <p>First of all, let us assume that the XSLTools distribution has been |
paulb@106 | 29 | unpacked and now sits in the <code>XSLTools-0.1</code> directory.</p> |
paulb@119 | 30 | |
paulb@106 | 31 | <p>Before we begin, we must make sure that the XSLTools package is |
paulb@106 | 32 | available |
paulb@106 | 33 | to Python. The easiest way to do this is to change into the <code>XSLTools-0.1</code> |
paulb@106 | 34 | directory and to run the <code>setup.py</code> |
paulb@106 | 35 | script provided with the version of Python you are going to be using |
paulb@106 | 36 | (possibly as a privileged user like <code>root</code>):</p> |
paulb@119 | 37 | |
paulb@106 | 38 | <pre>cd XSLTools-0.1<br />python setup.py install</pre> |
paulb@119 | 39 | |
paulb@106 | 40 | <p>If you don't want to install XSLTools in this way, or if you can't |
paulb@106 | 41 | do so |
paulb@106 | 42 | because you don't have <code>root</code> privileges, you can just make |
paulb@106 | 43 | sure |
paulb@106 | 44 | that the <code>XSLTools-0.1</code> directory sits on your |
paulb@106 | 45 | <code>PYTHONPATH</code>.</p> |
paulb@119 | 46 | |
paulb@106 | 47 | <h2>Viewing the API Documentation</h2> |
paulb@119 | 48 | |
paulb@106 | 49 | <p>The API documentation for use in conjunction with this |
paulb@106 | 50 | guide can be found inside the <a href="../apidocs/index.html"><code>apidocs</code></a> |
paulb@106 | 51 | directory within the <code>XSLTools-0.1</code> directory. Of course, |
paulb@106 | 52 | it is always possible to view the API documentation |
paulb@119 | 53 | within Python by importing modules (such as <a href="../apidocs/public/XSLOutput-module.html"><code>XSLOutput</code></a>) |
paulb@106 | 54 | and using Python's built-in <code>help</code> function.</p> |
paulb@119 | 55 | |
paulb@118 | 56 | <h2>About XSLForms Applications</h2> |
paulb@119 | 57 | |
paulb@118 | 58 | <ul> |
paulb@119 | 59 | |
paulb@119 | 60 | <li><a href="model.html">The XSLForms Conceptual Model</a></li> |
paulb@118 | 61 | <li><a href="overview.html">Creating Applications: An Overview</a></li> |
paulb@119 | 62 | |
paulb@118 | 63 | </ul> |
paulb@119 | 64 | |
paulb@106 | 65 | </body> |
paulb@106 | 66 | </html> |