Results 1 to 3 of 3
Discuss iPhone SDK RSS Parser - Traversing XML at the iPhone Developer Exchange - Hackint0sh.org; I have used iPhone SDK parsers and am kind of familiar with the programming and ...
  1. #1
    Newbie Array

    Join Date
    Sep 2010
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default iPhone SDK RSS Parser - Traversing XML

    I have used iPhone SDK parsers and am kind of familiar with the programming and the options.

    My question is how to traverse an XML file with the following structure:


    Code:
    <election name="Latest Election Polls">
        <poll date="Sat, 04 Sep 2010 15:36:44 -0500" pollster="Chicago Tribune" race="Illinois Governor - Brady vs. Quinn" year="2010" type="Governor" state="IL" poll_id="1361" spread="Brady +5.0">
            <candidate name="Brady" affiliation="Republican" value="37"/>
            <candidate name="Quinn" affiliation="Democrat" value="32"/>
        </poll>
    </election>

    ???



  2. #2
    Newbie Array

    Join Date
    Sep 2010
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    for:

    Code:
    <election name="Latest Election Polls">
        <poll date="Sat, 04 Sep 2010 15:36:44 -0500" pollster="Chicago Tribune" race="Illinois Governor - Brady vs. Quinn" year="2010" type="Governor" state="IL" poll_id="1361" spread="Brady +5.0">
            <candidate name="Brady" affiliation="Republican" value="37"/>
            <candidate name="Quinn" affiliation="Democrat" value="32"/>
        </poll>
    </election>

    How do I display?:

    candidate >> name
    candidate >> affiliation
    candidate >> value

  3. #3
    Newbie Array

    Join Date
    Jan 2013
    Location
    all about levitra
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

 

 

Similar Threads

  1. MacNN: PDF Studio 6.10 adds new PDF reader and parser engine
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 12-16-2009, 07:50 PM
  2. PHP parser on iPhone
    By MacPaq in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 01-27-2009, 02:35 PM
  3. Plugin idea: iTunes XML parser
    By maurj in forum AppleTV 1
    Replies: 1
    Last Post: 04-13-2007, 08:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 12:36 PM.
twitter, follow us!