<?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.a node-set binding - nodeset attribute and bind attribute override</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model id="carsForSale">
      <xforms:instance>
        <carsAvailable xmlns="">
          <car>Audi</car>
          <car>BMW</car>
          <car>Mercedes</car>
          <car>Porsche</car>
          <car>Volkswagen</car>
          <carOrder/>
        </carsAvailable>
      </xforms:instance>
      <xforms:bind id="bind_cars" nodeset="/carsAvailable/car"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">3.2.4.a node-set binding - nodeset attribute and bind attribute override</xforms:label>
  	</xforms:group>
    <xforms:group>
    	<xforms:label>
      	You must be able to select any or all of the items in the select control.
	    </xforms:label>
    </xforms:group>
    
  	<!-- itemset has nodeset attribute -->
    <xforms:select ref="/carsAvailable/carOrder">
      	<xforms:label>Cars</xforms:label>
        <xforms:itemset nodeset="/fakeCars/invalid" bind="bind_cars">
        	<xforms:label ref="."/>
          	<xforms:value ref="."/>
        </xforms:itemset>
    </xforms:select>

  </body>
</html>