Parse xml in basic

How can i parse xml in NSbasic?
in vb6 code is:

Dim MiXml As New DOMDocument
Private Sub Command1_Click()
jornada = MiXml.selectSingleNode("quinielista/porcentajes").Attributes(0).Text
partido1 = MiXml.selectSingleNode("quinielista/porcentajes/partido[0]").Attributes(1).Text
MsgBox jornada
Label1.Caption = partido1
End Sub
Private Sub Form_Load()
MiXml.Load ("")
End Sub


Have a look at the SAP sample - it uses an XML library.

There is also this article: