<?xml-stylesheet href="../forms/xsltforms/xsltforms.xsl" type="text/xsl"?>
<?xsltforms-options debug="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://www.w3.org/1999/xhtml"
      xmlns:xf="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<head>
   <title>Secret</title>
   <style type="text/css">
      body { font-family: sans-serif}
   </style> 
   <model xmlns="http://www.w3.org/2002/xforms">
      <instance><data xmlns=""><agree>false</agree><submit>0</submit></data></instance>
      <bind nodeset="agree" type="xf:boolean"/>
      <bind nodeset="submit" relevant="../agree = true()"/>
   </model>
</head>
<body>
   <group  xmlns="http://www.w3.org/2002/xforms">
      <input incremental="true" ref="agree"><label>I agree to all conditions</label></input><h:br/>
      <group ref="submit"><trigger><label>Submit</label></trigger></group>
   </group>
</body>
</html>
