<?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">
  <head>
  	<title>4.2.4.a xforms-model-destruct dispatched after form submission</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
      <xforms:instance>
        <car xmlns=""/>
      </xforms:instance>
      <xforms:message level="modal" ev:event="xforms-model-destruct">
				xforms-model-destruct
	  </xforms:message>
      <xforms:submission id="submission" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">4.2.4.a xforms-model-destruct dispatched after form submission</xforms:label>
  	</xforms:group>
    <xforms:group>
    	<xforms:label>
    	  After activating the Submit trigger you must see an xforms-model-destruct message. The page will be 
    	  replaced by the form data. 
    	</xforms:label>	
    </xforms:group>

    <xforms:submit submission="submission">
	    <xforms:label>Submit</xforms:label>
    </xforms:submit>

	
  </body>
</html>
