<?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>11.1.b bind attribute of submission element</title>
    <link rel="stylesheet" href="../../driverPages/html/TestSuite11.css" type="text/css"/>
    <xforms:model id="m_001">
      <xforms:instance id="i1">
        <car xmlns="">
          <make>Acura</make>
          <year>1994</year>
          <color>white</color>
          <hp>120</hp>
        </car>
      </xforms:instance>
      <xforms:instance id="i2">
        <tires xmlns=""/>
      </xforms:instance>
      <!-- submission submits only what the bind is attached to -->
      <xforms:submission id="submit" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" bind="color_bind" method="post"/>
      <xforms:bind id="make_bind" nodeset="/car/make"/>
      <xforms:bind id="year_bind" nodeset="/car/year"/>
      <xforms:bind id="color_bind" nodeset="/car/color"/>
      <xforms:bind id="hp_bind" nodeset="/car/hp"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">11.1.b bind attribute of submission element</xforms:label>
  	</xforms:group>
    <xforms:group>
      <xforms:label>
        When you activate the Submit trigger the page must be replaced by the form data. You must see the value 
        "white" in the form data. You must not see the values "Acura", "1994", or 
        "120". 
      </xforms:label>
    </xforms:group>    
      <xforms:submit submission="submit">
        <xforms:label>Submit</xforms:label>
      </xforms:submit>

  </body>
</html>
