docs: function(node, linefeed)
  	{
  		var xml = '';
  
  		if (window.XMLSerializer != null)
  		{
  			var xmlSerializer = new XMLSerializer();
  			xml = xmlSerializer.serializeToString(node);     
  		}
  		else if (node.xml != null)
  		{
  			xml = node.xml.replace(/\r\n\t[\t]*/g, '').
  				replace(/>\r\n/g, '>').
  				replace(/\r\n/g, '\n');
  		}
  
  		// Replaces linefeeds with HTML Entities.
  		linefeed = linefeed || '&#xa;';
  		xml = xml.replace(/\n/g, linefeed);
  		  
  		return xml;
  	}