Function ReadXMLData(xPath,sXMLDataFile)
Dim oXMLDocument
Set oXMLDocument = CreateObject("MSXML.DOMDocument")
oXMLDocument.async = FALSE
oXMLDocument.load(sXMLDataFile)
if Not (oXMLDocument.selectSingleNode(xPath) is Nothing) then
ReadXMLData = oXMLDocument.selectSingleNode(xPath).text
end if
End function