<?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>b.5.a Remove Element</title>
  	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
  	<xforms:model>
	  	<xforms:action ev:event="xforms-ready">
	  		<xforms:delete nodeset="item[2]"/>
	  	</xforms:action>
  		<xforms:instance>
  			<shoppingcart xmlns="">
  				<item>
  					<product>SKU-0815</product>
  					<quantity>1</quantity>
  					<unitcost>29.99</unitcost>
  					<price>29.99</price>
  				</item>
  				<item>
  					<product>SKU-4711</product>
  					<quantity>3</quantity>
  					<unitcost>7.49</unitcost>
  					<price>22.47</price>
  				</item>
  			</shoppingcart>
  		</xforms:instance>
  	</xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">
  			b.5.a Remove Element
  		</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:label>
  			You must see only one item product("SKU-0815") : 
  		</xforms:label>
  		<xforms:repeat nodeset="item">
  			<xforms:output class="hlist" value="concat(./product, ' ')">
  				<xforms:label>Product : </xforms:label>
  			</xforms:output>
  		</xforms:repeat>
  	</xforms:group>
  </body>
</html>
