Ask for an example code for parsing xml and get attributes by using GData API

Posted by ben on Stack Overflow See other posts from Stack Overflow or by ben
Published on 2010-06-12T08:27:30Z Indexed on 2010/06/12 8:32 UTC
Read the original article Hit count: 337

Filed under:
|
|
|

When i use GData API in my app for parsing xml,how could i get attributes and it's value? Wanted a piece of example code.Thanks a lot. xml:

   <playurls><url islive="0" type="3" bit_stream="1">http://vods.netitv.com//dy2/2010/02/08/cf584b76-3579-4b75-a0c8-f7a473d79f8c.mp4
    </url><url islive="0" type="3" bit_stream="2">http://vods.netitv.com//dy/2010/02/08/965bbc65-8ec0-4c50-98ae-c69a831926cc.mp4
    </url><url islive="0" type="2" bit_stream="1">http://vods.netitv.com//dy2/2010/02/08/cf584b76-3579-4b75-a0c8-f7a473d79f8c.mp4
    </url><url islive="0" type="2" bit_stream="2">http://vods.netitv.com//dy/2010/02/08/965bbc65-8ec0-4c50-98ae-c69a831926cc.mp4
    </url></playurls>

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c