<?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">
  <head>
    <title>7.7.8.a compare() function</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
      <xforms:instance>
		<root xmlns=""/>
      </xforms:instance>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">7.7.8.a compare() function</xforms:label>
  	</xforms:group>
  	
  	<xforms:group>
  		<xforms:label>
  		    You must see a value of "-1" for the compare('apple','orange') output control.
  		    You must see a value of "0" for the compare('apple','apple') output control.
  		    You must see a value of "1" for the compare('orange','apple') output control.   			
  		</xforms:label>
  	</xforms:group>
  	
  	<xforms:group>
      <xforms:output value="compare('apple','orange')">
        <xforms:label>compare('apple','orange') : </xforms:label>
      </xforms:output>
    </xforms:group>
    <xforms:group>
      <xforms:output value="compare('apple','apple')">
      	<xforms:label>compare('apple','apple') : </xforms:label>
      </xforms:output>
    </xforms:group>
    <xforms:group>
      <xforms:output value="compare('orange','apple')">
      	<xforms:label>compare('orange','apple') : </xforms:label>
      </xforms:output>
    </xforms:group> 
		
  </body>
</html>
