code: 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;
  	}
docs: Function: getXml
  
  Returns the XML content of the specified node. For Internet Explorer,
  all \r\n\t[\t]* are removed from the XML string and the remaining \r\n
  are replaced by \n. All \n are then replaced with linefeed, or &#xa; if
  no linefeed is defined.
  
  Parameters:
  
  node - DOM node to return the XML for.
  linefeed - Optional string that linefeeds are converted into. Default is
  &#xa;