code: function serializeChildren(node) {
  	var children = node.childNodes;
  	if (children.length === 0) {
  		return null;
  	}
  	
  	if (children.length === 1 && children[0].nodeType === 3) {
  		return children[0].nodeValue;
  	}
  	
  	var result = "";
  	var serializer = new XMLSerializer();
  	for (var i = 0; i < children.length; i++) {
  		result += serializer.serializeToString(children[i]);
  	}
  	return result;
  }
docs: /*eslint-env browser, amd /*global orion