XML parsing

carchek

Member
Licensed User
Longtime User
Hi guys!
I am having a problem. In my project that I developed in Visual basic 2010 I had this code to parse XML file and show values of it into the text box.
PHP:
 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.TextBox1.Text = ""
        Dim rd As XmlReader = XmlReader.Create(Application.StartupPath + "\dtecbs.xml")
        While rd.Read
            If rd.NodeType = XmlNodeType.Text Then
                Me.TextBox1.Text &= rd.ReadString & ControlChars.NewLine
            End If
        End While
        rd.Close()

    End Sub

But now, i would like to do the same in Basic4Android, but to show values in listview. I am kinda stuck here, so can you please help me out with this. :)
I would also like to show "oznaka" values next to the value of how much it is for example USD 1.3550 :)
Link to XML file:
XML file

Regards,
Gregor
 
Top