i have this set of codes below. I would like to ask how can i change my set of codes to be able to read 2 elements in an 'or' condition, instead of just reading 1 element called 'bt', i need to read another element called 'noRec'. Or do you guys have another way?

VB Code:
  1. Public Sub bookedtim() 'CAN
  2.         ReDim bookedtime(10)
  3.         Dim a As New StringReader(space)
  4.         schk = New XmlTextReader(a)
  5.         schk.WhitespaceHandling = WhitespaceHandling.None
  6.         schk.Read() 'xml
  7.         schk.Read() 'fb
  8.         schk.Read() 'res
  9.         Dim thisn As Integer
  10.         While Not schk.EOF
  11.             If Not schk.IsStartElement Then
  12.                 Exit While
  13.             End If
  14.             bookedtime(thisn) = schk.ReadElementString("noRec")
  15.             thisn = thisn + 1
  16.         End While
  17.         ReDim Preserve bookedtime(thisn - 1)
  18.    End Sub