I’m using TBXML to parse xml. But I have a problem.
This is my xml file
<i va="00:13:025">*4</i>
<i va="00:18:915">*3</i>
<i va="00:19:995">*2</i>
<i va="00:21:075">*1</i>
I used the command
TBXMLElement *lyric = [TBXML childElementNamed:@"i" parentElement:param];
to get value “*4″. How can I get value on va=””? Do you have any ideas or some examples to slove this?
Thanks.
You can get that values by using NSXMLParser..
And use this delegate method.
This attributeDict will gives you the attribute in that started tag.