<?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>10.b rebuild in action element</title>
    	<link rel="stylesheet" href="../driverPages/forms/TestSuite11.css" type="text/css"/>
    	<xforms:model id="thismodel">
       		<xforms:instance xmlns="">
				<car>
					<model>Pacifica</model>
				</car>
       		</xforms:instance>
       		<xforms:message level="modal" ev:event="xforms-rebuild">xforms-rebuild</xforms:message>
    	</xforms:model>
  	</head>
  	<body>
  	    <xforms:group>
  		    <xforms:label class="title">10.b rebuild in action element</xforms:label>
  		</xforms:group>
  		<xforms:group>
  			<xforms:label>
  			When you activate the Insert Car trigger you must see an xforms:action message and an xforms-rebuild 
  			message. 
  			</xforms:label>
  		</xforms:group>
		
	    <xforms:repeat nodeset="/car/model">
	        <xforms:input ref=".">
	            <xforms:label>Car model : </xforms:label>
	        </xforms:input>
	    </xforms:repeat>
		
		<xforms:trigger>
	        <xforms:label>Insert Car</xforms:label>
	        <xforms:action ev:event="DOMActivate">
	            <xforms:insert nodeset="/car/model" at="last()" position="after"/>
	            <xforms:message level="modal">xforms:action</xforms:message>
	        </xforms:action>
		</xforms:trigger>
					
  </body>
</html>