code: function stringifyNode(node)
  {
  	var result = "<"+node.nodeName;
  	var numAttrs = node.attrs.length;
  	
  	for (var i=0; i<numAttrs; i++)
  	{
  		result += " "+ node.attrs[i].name +'="'+ node.attrs[i].value +'"';
  	}
  	
  	result += ">";
  	
  	return result;
  }
docs: /*
  Serialize an HTML node back to a string.