boot.html 1.56 KB
<html>
    <head>
        <title>Testing boot.xsl</title>
        <script type="text/javascript" language="javascript" src="../saxon/SaxonceDebug/Saxonce.nocache.js"></script>
        <script type="application/xslt+xml" language="xslt2.0" src="../boot/boot.xsl" data-initial-template="init"></script>
        <script type="application/xslt+xml" language="xslt2.0" src="boot.xsl" data-initial-template="init"></script>
        <script type="application/xslt+xml" language="xslt2.0" data-transformation="boot-dynamic.xsl" data-initial-template="init"></script>
    </head>
    <body>
        <p>This sample is a test for <a href="../boot/boot.xsl">../boot/boot.xsl</a>.</p>
        <p><a href="../boot/boot.xsl">../boot/boot.xsl</a> is invoked by Saxon-CE and invokes two
            other transformations:</p>
        <ul>
            <li><a href="boot.xsl">boot.xsl</a> displays a welcome message with the name entered in
                the input field.</li>
            <li><a href="boot-dynamic.xsl">boot-dynamic.xsl</a> generates a transformation that will
                execute an XPath expression (try it before and after entering a name).</li>
        </ul>
        <hr />
        <p>Type your first name in the input box. <br /> If you are running Saxon CE, the output
            should be displayed in the output area.</p>
        <label>Please enter your first name: </label>
        <input id="input"> </input>
        <br />
        <div id="output"> </div>
        <hr />
        <button id="xpath">string-length(/)</button>
        <div id="xpath-result"></div>
    </body>
</html>