View Single Post
Old December 14th, 2004, 06:20 AM
ChrisScott ChrisScott is offline
Friend of Wrox
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

Hi Amit,

You should be able to try to select the element you are after & then check whether you have a node before accessing the Text property, e.g.
Dim myText: myText = ""
Dim myEl: Set myEl = .SelectSingleNode("xml...nodes")
If Not myEl Is Nothing Then
    myText = myEl.Text
End If