<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'">
<html>
    <head>
        <title>List of Components</title>
    </head>
    <body>
        <h1>List of Components</h1>
        <h3>
            <a href="http://www.cems.uwe.ac.uk/amrc/seeds/PeterHale/XML/XML.htm#XQuery">XQuery Information</a>
        </h3>
        <h3>
            <a href="http://www.cems.uwe.ac.uk/amrc/seeds/Ajax/ajax.htm#XForms">XForms Information</a>
        </h3>
        <p>XForms Wingbox Example - <a href="http://www.cems.uwe.ac.uk/amrc/seeds/FormFaces/Examples/WingBox/index.html">http://www.cems.uwe.ac.uk/amrc/seeds/FormFaces/Examples/WingBox/index.html</a>.</p>
        <h3>Adapted from research of <a href="http://www.cems.uwe.ac.uk/~cjwallac/">Chris Wallace</a>.</h3>
        <table border="1">
            <tr>
                <td>Spar Part1</td>
                <td>
                    <a href="editComponents.xql?name=Spar Part1">Edit</a>
                </td>
            </tr>
            <tr>
                <td>Spar Part2</td>
                <td>
                    <a href="editComponents.xql?name=Spar Part2">Edit</a>
                </td>
            </tr>
            <tr>
                <td>Spar Part3</td>
                <td>
                    <a href="editComponents.xql?name=Spar Part3">Edit</a>
                </td>
            </tr>
            <tr>
                <td>Spar Part4</td>
                <td>
                    <a href="editComponents.xql?name=Spar Part4">Edit</a>
                </td>
            </tr>
            <tr>
                <td>Spar 1233</td>
                <td>
                    <a href="editComponents.xql?name=Spar 1233">Edit</a>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <a href="editComponents.xql?name=">Edit</a>
                </td>
            </tr>
        </table>
        <h2>Explanation</h2>
        <p>If anyone wants to have a try at editing using this - please carry on, don't worry if you change anything. I'll change it back every so often. That's the point of creating an interactive example.</p>
        <p>This example makes use of the <a href="http://exist.sourceforge.net/">Exist</a> database that is used for the <a href="http://www.cems.uwe.ac.uk/exist/index.xql">Faculty OnLine Data</a> (FOLD) project at Univeristy of the West of England. Exist enables use of <a href="http://www.cems.uwe.ac.uk/amrc/seeds/PeterHale/XML/XML.htm#XQuery">XQuery</a>. The XQuery code writes out an <a href="http://www.cems.uwe.ac.uk/amrc/seeds/Ajax/ajax.htm#XForms">XForms</a> form making use of <a href="http://www.formfaces.com/main.html">FormFaces</a>. This is based on an example written by <a href="http://www.cems.uwe.ac.uk/~cjwallac/">Chris Wallace</a>
        </p>
        <p>This file listComponents.xql queries an XML document and returns the names of the components as links. These links can be clicked on, and this will open a page for editing (editComponents.xql), and pass this the name of the component to be edited.</p>
        <p>listComponents.xql Code - <a href="http://www.cems.uwe.ac.uk/~phale/XQueryXFormsCode.htm#listComponentsxql">Here</a>.</p>
        <p>components.xml Code - <a href="http://www.cems.uwe.ac.uk/~phale/XQueryXFormsCode.htm#componentsxml">Here</a>.</p>
        <p>editComponents.xql Code - <a href="http://www.cems.uwe.ac.uk/~phale/XQueryXFormsCode.htm#editComponentsxql">Here</a>.</p>
        <p>Further Explanations to follow ...</p>
        <p>postComponents.xql Code - <a href="http://www.cems.uwe.ac.uk/~phale/XQueryXFormsCode.htm#postComponentsxql">Here</a>.</p>
        <p>Further Explanations to follow ...</p>
    </body>
</html>
