parsing atom feed with sax

rainersnookh

Member
Licensed User
Longtime User
Hello, I just purchased basic4android and been looking at tutorials and playing around with them for a while to learn.

So now I'm trying to make my first app and have already hit a wall :)

What I'm trying to do is to parse an atom feed with XMLsax.

I've managed to get values from the standard keys like

B4X:
<title>sometext</title>

My problem starts when trying to retrieve values from keys like this

B4X:
<key:content value1=somevalue value2=somevalue></key:content>

I've looked at the XMLsax tutorial, and while it helped me get started, it didnt really give me any ideas how to do this.

-----------------------------------------

Ok, solved it after a while.

Used Attribute.GetValue(n) in the Parser_StartElement sub
 
Last edited:
Top