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 7433535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:41:14+00:00 2026-05-29T09:41:14+00:00

I have checked lots of tutorials on xml parsing in iOS .. but most

  • 0

I have checked lots of tutorials on xml parsing in iOS ..
but most of them have already set the xml response from the server in a clear understandable line by line format

<?xml version="1.0" encoding="utf-8"?>
<people> <person>
<firstName>James</firstName> <lastName>Franklin</lastName>
</person>
<person>
<firstName>Snidely</firstName>
<lastName>Wilsonn</lastName>
</person>
<person>
<firstName>Dudley</firstName>
<lastName>Doright</lastName>
</person> </people>

Now seeing this.. it is pretty easy to follow what tags you have to filter and extract data from ..

But now when i am doing this . (like this in my app)

  NSError *error;
    NSData *linkData = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"someURL"] options:NSDataReadingUncached error:&error]
        NSString *stringData = [[NSString alloc]initWithData:linkData encoding:NSUTF8StringEncoding];
        NSLog(@" Data /n/n/n %@",stringData);

It is coming like this in console :

Data /n/n/n {"entries":[{"id":"37504814","title":"Live Blog: Patrik Schumacher","created":"2012-02-09 23:43:00","updated":"2012-02-10 03:34:05","user_id":"15084","entry_type":"20","location":null,"portfolio_id":null,"arc_name":"Lian Chikako Chang","parent_image":"xyz2sb7y9n4mtvbb.jpg","link":"http:live-blog-patrik-schumacher","quote":null,"content":" \n<p>\n\tHi Archinect!<\/p>\n<p>\n\tPatrik Schumacher, partner at Zaha Hadid Architects and founding director at the AA Design Research Lab, is in Piper tonight for a lecture on \"Parametric Order: 21st century architectural order.\"<\/p>\n<p>\n\t<img alt=\"\" src=\"http

NOw this is JSON and XML both .. but there are thousands of lines more after it /…and i am not able to understand it as it is…any way to get it in the proper formatted format like the above given XML.??

ALSO one more question : Is the XML parser best for parsing or should i do it with other projects for xml parsing on github?.

Thanks

  • 1 1 Answer
  • 0 Views
  • 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-29T09:41:16+00:00Added an answer on May 29, 2026 at 9:41 am

    this will format xml the xml for you to make it more readable.

    http://xmltoolbox.appspot.com/

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

Sidebar

Related Questions

I have checked out code from a svn repository and started making changes. But
I have checked IE8, FF 3.5 , Opera 9 none of them have support
I have checked out files from my svn repository to a local project folder.
So I have lots of radio buttons with same name but different ID and
I have lots of radiobutton in a panel with auto scroll set to true
I have a hefty db server with lots of very similar InnoDB databases. A
I have lots of jquery functions in my script but a particular one is
I have read lots of questions and answers about this issue on StackOverflow, but
I have been through lots of forums and checked various posts on similar topic
(I am a new perforce user, but have used lots of other source code

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.