Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 614829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:09:13+00:00 2026-05-13T18:09:13+00:00

I am new to iphone development.I am parsing a xml page .The xml page

  • 0

I am new to iphone development.I am parsing a xml page .The xml page concist of many elements inside the parant element < entry > .When parsing inside the NSXMLParser foundCharacters method i gave a print statement to print The “currentElement”. It does not print all the elememts between the< entry > and tags.It just print only some 13 elements.But there are around 22 elements inside the entry tag.I found only the tags with closing tags are displayed as current elements in “found character” method.The element in the single tag like < category scheme=”xxxxxxxxxxx”term=”yyyyy” /> like “category” is not displayed. I want to append the value of scheme attribute to my current string.Please help me out.Thanks.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:09:14+00:00Added an answer on May 13, 2026 at 6:09 pm

    If you want to access attributes of a tag you can do so by using the following:

    - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict {
    
        NSString *scheme = [attributeDict valueForKey:@"scheme"];
    

    The found character method only scan for characters included between tags and does not scan for attributes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to iPhone/Objective-C development, I am successfully parsing XML with NSXMLParser but
I am new to iphone development.I am parsing an XML page and displaying the
I am new to iPhone development. I am parsing a XML URL and display
I am new to iphone development.I want parse an you-tube XML page and retrieve
I am new to iphone development.I am parsing a xml file and displaying the
I am new to iphone development.I am parsing a xml file and displaying the
I am quite new to the iphone development, I am using xml parsing to
I am new to iPhone development. I am parsing a URL and displayed its
I am new to iphone development.I am able to parse a Xml file at
I am new to iphone development.I want to ignore CDATA tag while parsing because

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.