<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<html 
   xmlns="http://www.w3.org/1999/xhtml" 
   xmlns:xf="http://www.w3.org/2002/xforms"
	 xmlns:sample="http://www.agencexml.com/sample"
	 >
   <head>
      <title>XForms textarea</title>
      <xf:model>
         <xf:instance>
            <sample:data>
               <sample:MyTextValue />
            </sample:data>
         </xf:instance>
      </xf:model>
   </head>
   <body>
			<div id="xformControl">
				<span>
					<input type="checkbox" onclick="$('console').style.display = this.checked? 'block' : 'none';"  checked="checked"/> Debug
				</span>
			</div>
      <xf:textarea ref="sample:MyTextValue">
         <xf:label>Note:</xf:label>
      </xf:textarea>
			<div id="console"></div>
   </body>
</html>
