<?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>5.2.3.a listItems datatype</title>
  	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
  	<xforms:model>
  		<xforms:instance xmlns="">
  			<car>
  				<availableColors/>
  			</car>
  		</xforms:instance>
  		<xforms:bind id="listItems_bind" nodeset="/car/availableColors" type="xforms:listItems" required="true()"/>
  		<xforms:setvalue ref="availableColors" ev:event="xforms-ready">Red Blue Green</xforms:setvalue>
  	</xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">5.2.3.a listItems datatype</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:label>
	  		You must have seen the message "You entered a valid listItems".
	  	</xforms:label>	
  	</xforms:group>

  		<xforms:input bind="listItems_bind">
  			<xforms:label>Colors available (listItems)</xforms:label>
  			<xforms:action ev:event="xforms-valid">
  				<xforms:message level="modal">You entered a valid listItems</xforms:message>
  			</xforms:action>
		</xforms:input>
		
		
  </body>
</html>
