<?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.2.2.a case element</title>
    	<link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    	<xforms:model>
       		<xforms:instance xmlns="">
       			<person>
					<name>Janel</name>
					<eyeColor>Blue</eyeColor>
				</person>
       		</xforms:instance>
    	</xforms:model>
  	</head>
  	<body>
  		<xforms:group>
  			<xforms:label class="title">9.2.2.a case element</xforms:label>
  		</xforms:group>	
  		<xforms:group>
  			<xforms:label>
  				You must see the output "Name : Janel" below. 
  				You must NOT be able to see an output labeled "Eye Color" or it must 
  				be somehow unavailable to you. 
	  		</xforms:label>	
  		</xforms:group>
  	<!-- There are two cases in the switch. The first one listed should be automatically selected -->
		<xforms:switch>
			<xforms:case id="in">
				<xforms:output ref="/person/name">
					<xforms:label>Name : </xforms:label>
				</xforms:output>
			</xforms:case>
			<xforms:case id="out">
				<xforms:output ref="/person/eyeColor">
					<xforms:label>Eye Color : </xforms:label>
				</xforms:output>
			</xforms:case>
		</xforms:switch>
		
  </body>
</html>
