Sub Parser_EndElement (Uri As String, Name As String, Text As StringBuilder)
If parser.Parents.IndexOf("kategorieliste-a") > -1 Then
If Name = "id" Then
katId = Text.ToString
End If
If katTitle <> "" AND katId <> "" Then
ListViewCat1.AddSingleLine2(katTitle, katId) 'add the title as the text and the link as the value
End If
End If
End Sub