' Get a XML node value ' expC1 XML ' expC2 Tag Public Function GetXMLNodeValue(ByVal tcXML As String, ByVal tcTag As String) As Boolean Dim llSuccess As Boolean oDOM.LoadXml(tcXML) oNode = oDOM.SelectSingleNode(tcTag) Try cXML = oNode.InnerText llSuccess = True Catch loError As Exception App.ErrorSetup(loError) End Try Return llSuccess End FunctionBasically, I would like to know if oNode has been properly initialized. If not, I can adjust the code before the Try.