<?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:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <head>
        <title>11.1.n encoding attribute of submission element</title>
        <link rel="stylesheet" href="../../driverPages/html/TestSuite11.css" type="text/css"/>
        <xforms:model>
			<xforms:instance>
				<carA xmlns="">
					<make>Acura</make>
					<year>2005</year>
					<color>blue</color>
				</carA>
			</xforms:instance>
			<xforms:instance>
				<carB xmlns="">
					<make>Acura</make>
					<year>2005</year>
					<color>blue</color>
				</carB>
			</xforms:instance>
			<xforms:bind id="make_bindA" nodeset="/carA/make"/>
			<xforms:bind id="year_bindA" nodeset="/carA/year"/>
			<xforms:bind id="color_bindA" nodeset="/carA/color"/>
			<xforms:submission id="submitA" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post"/>
			<xforms:submission id="submitB" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" encoding="ISO-8859-1"/>
        </xforms:model>
    </head>
    <body>
    	<xforms:group>
  			<xforms:label class="title">11.1.n encoding attribute of submission element</xforms:label>
  		</xforms:group>
  		<xforms:group>
  			<xforms:label>
  			  When you activate the Submit (UTF-8) control you must see the value 
  			  " encoding="UTF-8" " at the top of the form data. 
  			  When you activate the Submit (ISO) control you must see the value 
  			  " encoding="ISO-8859-1" " at the top of the form data. 
  			</xforms:label>
  		</xforms:group>
  		<xforms:submit submission="submitA">
  			<xforms:label>Submit (UTF-8)</xforms:label>
  		</xforms:submit>
  		<xforms:submit submission="submitB">
  			<xforms:label>Submit (ISO)</xforms:label>
  		</xforms:submit>

    </body>
</html>
