<?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.8.a header element of submission element</title>
    <link rel="stylesheet" href="../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
    	<xforms:instance>
    		<data xmlns="">
    			<value>one</value>
    			<value>two</value>
    			<value>three</value>
    		</data>
    	</xforms:instance>
    	<xforms:submission id="sub1" method="post" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php">
    	  <xforms:header>
    	    <xforms:name>myHeader1</xforms:name>
    	    <xforms:value>myValue1</xforms:value>
    	  </xforms:header>
    	  <xforms:header>
    	    <xforms:name>myHeader2</xforms:name>
    	    <xforms:value>myValue2</xforms:value>
    	  </xforms:header>
    	</xforms:submission>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">11.8.a header element of submission element</xforms:label>
  	</xforms:group>
  	<xforms:group>
  	  <xforms:label>
  	    When you activate the Submit Now submit control the page must be replaced by the form data. Among the 
  	    variables you must see two headers named "myHeader1" and "myHeader2". 
  	    myHeader1 must have the value "myValue1" and myHeader2 must have the value "myValue2". 
  	  </xforms:label>
  	</xforms:group>
  	<xforms:group>
  	  <xforms:submit submission="sub1">
  	    <xforms:label>Submit Now</xforms:label>
  	  </xforms:submit>
  	</xforms:group>
  	
  </body>
</html>