<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <head>
        <title>7.2.b evaluation context for the non-outermost binding elements</title>
        <xforms:model>
            <xforms:instance>
                <user xmlns="">
                    <name>
                        <first>Curtiss</first>
                        <last>Hewie</last>
                    </name>
                    <contact>
                        <email>chewie@example.com</email>
                    </contact>
                </user>
            </xforms:instance>
            <xforms:bind id="firstname" nodeset="name/first"/>
            <xforms:bind id="lastname" nodeset="name/last"/>
        </xforms:model>
        <link href="../../driverPages/forms/TestSuite11.css" rel="stylesheet"/>
    </head>
    <body>
        <xforms:group>
            <xforms:label class="title">
				7.2.b evaluation context for the non-outermost binding elements 
			</xforms:label>
        </xforms:group>
        <xforms:group>
            <xforms:label>
				You must see a value of "Curtiss" for First Name, a value of "Hewie" for Last 
				Name, and a value of "chewie@example.com" for Email Address. 
			</xforms:label>
        </xforms:group>
        
        <xforms:input bind="firstname">
            <xforms:label>First Name : </xforms:label>
        </xforms:input>
        <xforms:input bind="lastname">
            <xforms:label>Last Name : </xforms:label>
        </xforms:input>    
        <xforms:output ref="contact/email">
            <xforms:label>Email Address : </xforms:label>
        </xforms:output>
    
    </body>
</html>
