<?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:xhtml="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<head>
    	<title>9.3.1.d unrolling the repeat element</title>
    	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    	<xforms:model>
       		<xforms:instance xmlns="">
				<cart>
					<items>
						<item>windshield wipers</item>
						<item>tires</item>
						<item>exhaust</item>
						<item>air freshener</item>
					</items>
				</cart>
       		</xforms:instance>
    	</xforms:model>
  	</head>
  	<body>
  		<xforms:group>
  			<xforms:label class="title">9.3.1.d unrolling the repeat element</xforms:label>
  		</xforms:group>	
  		<xforms:group>
  			<xforms:label>
  			  You must see two lists of items, Items In Cart 1 and Items In Cart 2.  Both lists must contain the 
  			  values "winshield wipers", "tires", "exhaust", and 
  			  "air freshener". 
			</xforms:label>	
  		</xforms:group>
  		<xforms:group>
  			<xforms:label>
  				Items In Cart 1 : 
  			</xforms:label>
			<xforms:repeat nodeset="/cart/items/item">
					<xforms:output ref=".">
						<xforms:label/>
					</xforms:output>
			</xforms:repeat>
  		</xforms:group>
  		<xforms:group>
  			<xforms:label>
  				Items In Cart 2 :
  			</xforms:label>
  			<!-- unrolled repeat -->
  			<xforms:group>
	  			<xforms:output ref="/cart/items/item[1]">
					<xforms:label/>
			</xforms:output>
  			</xforms:group>
  			<xforms:group>
  			<xforms:output ref="/cart/items/item[2]">
						<xforms:label/>
			</xforms:output>
			</xforms:group>
			<xforms:group>
  			<xforms:output ref="/cart/items/item[3]">
						<xforms:label/>
			</xforms:output>
			</xforms:group>
			<xforms:group>
  			<xforms:output ref="/cart/items/item[4]">
						<xforms:label/>
			</xforms:output>
			</xforms:group>
  		</xforms:group>
		
  </body>
</html>
