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