<?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">
  <head>
    <title>3.2.4.d node-set binding - bind attribute overrides model attribute</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model id="model1">
      <xforms:instance>
        <carsAvailable xmlns="">
          <car>Audi</car>
        </carsAvailable>
      </xforms:instance>
    </xforms:model>
    <xforms:model id="model2">
      <xforms:instance>
        <carsAvailable xmlns="">
          <car>BMW</car>
        </carsAvailable>
      </xforms:instance>
      <xforms:bind id="bind1" nodeset="car"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">3.2.4.d node-set binding - bind attribute overrides model attribute</xforms:label>
  	</xforms:group>
    <xforms:group>
		<xforms:label>
      		You must see the value "BMW": 
      	</xforms:label>
    </xforms:group>

	<xforms:output ref="car" model="model1" bind="bind1">
    	<xforms:label/>
    </xforms:output>

  </body>
</html>