//<script>

function
XmlUtils() {
	this.parseFromFile = XmlUtils_parseFromFile;
	this.parseFromString = XmlUtils_parseFromString;
	this.performHttpRequest = XmlUtils_performHttpRequest;
	this.xmlToString = XmlUtils_xmlToString;
	this.getNodeValue = XmlUtils_getNodeValue;
	this.createNode = XmlUtils_createNode;
}

function
XmlUtils_xmlToString(
	oXml
) {

}
function
XmlUtils_parseFromString(
	strXml
) {
}

function
XmlUtils_parseFromFile( 
	strFilePath
) {
}

function
XmlUtils_performHttpRequest(
	strUrl,
	oXmlRequest
) {
}

function
XmlUtils_createNode(
	oXml,
	strNodeName,
	strNodeValue
) {
	
	var oNode = oXml.createElement(strNodeName);
	var oTextNode = oXml.createTextNode(strNodeValue);
	oNode.appendChild(oTextNode);
	return oNode;
} 

function
XmlUtils_getNodeValue(
	oXmlNode,
	strDefaultValue,
	oParentNode
) {
	var strValue = strDefaultValue;
	if (oXmlNode != null) {
		if (
 			oXmlNode.firstChild &&
			oXmlNode.firstChild.nodeValue &&
			oXmlNode.parentNode == oParentNode
		) {
			strValue = oXmlNode.firstChild.nodeValue;
		}	
	}
	return strValue;

}

