<?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.1.a Prepend Element Copy</title>
  	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
  	<xforms:model>
	  	<xforms:action ev:event="xforms-ready">
	  		<xforms:insert context="people" origin="instance('prototypes')/person"/>
	  	</xforms:action>
  		<xforms:instance>
  			<data xmlns="">
  				<people>
  					<person>
  						<name>Jane Doe</name>
  					</person>
  				</people>
  			</data>
  		</xforms:instance>
  		<xforms:instance id="prototypes">
  			<prototypes xmlns="">
  				<person>
  					<name/>
  				</person>
  			</prototypes>
  		</xforms:instance>
  	</xforms:model>  	
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">
  			b.1.a Prepend Element Copy
  		</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:label>
  			You must see an empty person name followed by the person name of "Jane Doe" : 
  		</xforms:label>
  		<xforms:repeat nodeset="people/person">
  			<xforms:output class="hlist" value="concat(. , ' ')">
  				<xforms:label>Person Name : </xforms:label>
  			</xforms:output>
  		</xforms:repeat>
  	</xforms:group>
  </body>
</html>
