This demonstration shows how you only need to add one single line to your page to enable Xinha for the textareas on it, the only code added is...

  <script src="/path/to/xinha/XinhaEasy.js" type="text/javascript"></script>

and that will cause all the textareas to be converted into Xinha areas with default options and commonly useful plugins.