<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms">
    <head>
        <title>Hello World in XForms</title>
        <xf:model>
            <xf:instance>
                <f:data xmlns:f="http://foo.com">
                    <f:PersonGivenName/>
                </f:data>
            </xf:instance>
        </xf:model>
    </head>
    <body>
        <p>Type your first name in the input box. If you are running XForms, the output should be
            displayed in the output area.</p>

        <p>
            <xf:input ref="f:PersonGivenName" incremental="true">
                <xf:label>Please enter your first name: </xf:label>
            </xf:input>
        </p>

        <p>
            <xf:output value="concat('Hello ', f:PersonGivenName, '. We hope you like XForms!')">
                <xf:label>Output: </xf:label>
            </xf:output>
        </p>
    </body>
</html>

