Hello friends ?
How can I use the "
SaxParser " library with Wait For ?
I've made a list (list_exchange_data) ,and I want to get list after "EndElement" metod ((EndElement (Uri As String, Name As String, Text As StringBuilder)))
Sub Parser2_EndElement (Uri As String, Name As String, StringBuilder_Text As StringBuilder)
Dim list_exchange_data As List
list_exchange_data.Initialize
list_exchange_data.Clear
Dim local_str As String = ""
If parser2.Parents.IndexOf("item") > -1 Then
If Name = "name" Then
local_str=""
local_str=get_icon_flag(StringBuilder_Text.ToString)&"#"&StringBuilder_Text.ToString
Else If Name = "price" Then
local_str=local_str&"#"&StringBuilder_Text.ToString
Else If Name = "change" Then
local_str=local_str&"#"&StringBuilder_Text.ToString
Else If Name = "percent" Then
local_str=local_str&"#"&StringBuilder_Text.ToString
list_exchange_data.Add(local_str)
End If
End If
' Log(list_exchange_data)
End Sub
Thanks ?