docs: function (html)
      {
          var fragment = document.createElement('body');
  
          // force the browser to try and fix any invalid HTML tags
          fragment.innerHTML = html;
  
          // copy cleaned html into an xml dom
          var xhtml = Strophe.createHtml(fragment);
  
          while(xhtml.childNodes.length > 0) {
              this.node.appendChild(xhtml.childNodes[0]);
          }
          return this;
      }