<?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.e mode attribute of submission element</title>
        <link href="../../driverPages/html/TestSuite11.css" rel="stylesheet" type="text/css"/>
        <xforms:model id="car1">
	      <xforms:instance id="information">
	        <car xmlns="">
	          <make>Acura
	          	<model>Integra</model>
	          </make>
	          <year>1994</year>
	          <color>white</color>
	          <hp>120</hp>
	        </car>
	      </xforms:instance>
	      <xforms:submission id="submitColorS" ref="/car/color" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" mode="synchronous"/>
	      <xforms:submission id="submitColorA" ref="/car/color" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" mode="asynchronous"/>
	    </xforms:model>
    </head>
    <body>
        <xforms:group>
            <xforms:label class="title">11.1.e mode attribute of submission element</xforms:label>
        </xforms:group>
	    <xforms:group>
	    	<xforms:label>
	    	  Each submit control below submits the form with a different mode. Both must replace the page 
              with form data containing the value "white". 
	    	</xforms:label>
	    </xforms:group>
		<xforms:submit id="submitS" submission="submitColorS">
		    <xforms:label>Submit with Synchronous</xforms:label>
		</xforms:submit>
		<xforms:submit id="submitA" submission="submitColorA">
		    <xforms:label>Submit with Asynchronous</xforms:label>
		</xforms:submit>
	
    </body>
</html>
