<?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>Integer</title>
   <style type="text/css">
      body { font-family: sans-serif}
   </style> 

   <model id="m" xmlns="http://www.w3.org/2002/xforms">
      <instance>
         <data xmlns="">
	    <number/>
	 </data>
      </instance>
      <bind nodeset="number" type="integer" />
   </model>
</head>
<body>
   <group xmlns="http://www.w3.org/2002/xforms">
      <input ref="number"><label>Number:</label></input>
      <trigger>
	 <label>OK</label>
	 <message level="modal" ev:event="DOMActivate">You clicked me!</message>
	 <message level="modal" ev:event="DOMFocusIn">You focused on me!</message>
      </trigger>
   </group>
</body>
</html>
