<?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:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events">
	<head>
		<title>7.4.6.a binding examples</title>
		<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
		<xforms:model id="orders">
			<xforms:instance xmlns="" id="orderform">
				<orderForm>
					<shipTo>
						<firstName>John</firstName>
					</shipTo>
				</orderForm>
			</xforms:instance>
			<xforms:bind nodeset="/orderForm/shipTo/firstName" id="fn"/>
		</xforms:model>
	</head>
	<body>
	    <xforms:group>
		    <xforms:label class="title">
			7.4.6.a binding examples
		    </xforms:label>
		</xforms:group>
		<xforms:group>
			<xforms:label>
				You must see the value "John" in all three input fields. 
			</xforms:label>
		</xforms:group>
		<xforms:input ref="/orderForm/shipTo/firstName">
			<xforms:label>Driver 1's First Name : </xforms:label>
		</xforms:input>
		<xforms:input bind="fn">
			<xforms:label>Driver 2's First Name : </xforms:label>
		</xforms:input>
		<xforms:input model="orders" ref="/orderForm/shipTo/firstName">
			<xforms:label>Driver 3's First Name : </xforms:label>
		</xforms:input>
		
	</body>
</html>
