Questions tagged [tbxml]

TBXML is a light-weight XML document parser written in Objective-C designed for use on Apple iPad, iPhone & iPod Touch devices.

TBXML is a light-weight XML document parser written in Objective-C designed for use on Apple iPad, iPhone & iPod Touch devices. TBXML aims to provide the fastest possible XML parsing whilst utilising the fewest resources. This requirement for absolute efficiency is achieved at the expense of XML validation and modification. It is not possible to modify and generate valid XML from a TBXML object and no validation is performed whatsoever whilst importing and parsing an XML document.

Visit the TBXML website to learn more.

86 questions
7
votes
3 answers

TBXML and tag problem

this is my problem: I am using TBXML in my iPad app. The XML server responses start with the xml description line: and TBXML is not able to parse the nodes (i.e nextSibling methods are…
Gabriel Mendez
  • 1,115
  • 1
  • 9
  • 28
3
votes
2 answers

Asynchronousity and initWithURL in TBXML

I'm planning to use TBXML for my Weather app. I've used NSXMLParser with a NSURLConnection up to now, but i feel this must be able much simpler, faster and more stable (the current code is so complex minor issues keep slipping in that are hell to…
Erik S
  • 1,939
  • 1
  • 18
  • 44
3
votes
2 answers

TBXML in an iOS 8 extension fails to build

In my iOS app I use TBXML for xml processing, it's not officially updated but it still working fine for me. I'm trying to create a Today extension for iOS 8 and when I add TBXML as a Compile Source I get the following: TBXML.h Before adding the…
estemendoza
  • 3,023
  • 5
  • 31
  • 51
3
votes
1 answer

how to store all dictionary in an array

i have an xml file which contains country and codes. i have put the xml in Demo.xml .My problem is that only first dictionary has been saved. or anyone can tell me other way of parsing it like using nsxml or gdata NSString *filePath=[[NSBundle…
3
votes
2 answers

Attribute value using TBXMLParser

I have to parse relatively huge amount of XML data, thus I am going for TBXMLParser. And I am pretty new to it. Below is the sample XML format. Test XML http://www.google.com
Nina
  • 1,579
  • 2
  • 21
  • 51
2
votes
3 answers

UITableView reloadData taking too much time

I'm using TBXML+HTTP to get XML data from a website. What I want to do is populate a UITableView with the processed data. I've created a NSMutableArray that holds all the entries and, as far as that goes, everything is working fine. The problem is…
user1276108
  • 183
  • 2
  • 7
2
votes
2 answers

Parsing XML by TBXML works on demo project, but it doesnt work in my real project

I'm really need help with parsing XML by TBXML. I created a demo project with a view has a button,when users press this button, I just call TBXML parsing function from another class. Im doing this to test my TBXMLParsing function works correctly or…
JHHoang
  • 653
  • 1
  • 8
  • 22
2
votes
2 answers

Parse child elements with TBXML

My XML looks like this: 11 22
brush51
  • 5,691
  • 6
  • 39
  • 73
2
votes
1 answer

Traversing through TBXML on iphone / xcode SDK help?

I've got an xml file which i'm struggling to traverse through. I'll let you know from the off i'm new to xcode. I tried following another guide on here: iPhone TBXML Looping And Parsing Data but for some reason it doesn't seem to work for me. Here's…
MissCoder87
  • 2,669
  • 10
  • 47
  • 82
2
votes
1 answer

how to pass data to Tbxml in iphone

i am trying to use TBXML, i want to parse xml by sending username and password but dnt how to do it, i have already gone through many tutorials. -(IBAction)login{ NSString *str2=emailtxt.text; NSString…
Vivek Sehrawat
  • 6,560
  • 2
  • 26
  • 39
2
votes
1 answer

iOS: Combining SAX and DOM parsing

I am currently working on an iPad project for which I need to process large XML file into an SQLite backend. I currently have this working using the TBXML parser. So all the logic is in place and in general the TBXML parser does the job it needs to…
Deddiekoel
  • 1,939
  • 3
  • 17
  • 25
1
vote
1 answer

How to parse the string using TBXML in iphone sdk?

I tried to parse following String using TBXML. 42Hyder here2012-01-09…
Lion
  • 872
  • 1
  • 17
  • 43
1
vote
2 answers

What will be the numberOfRowsInSection return type for uitableview when XML data is retrieved?

I have a NSMutableArray named as records and a NSArray. Now I am retrieving an XML attribute and its value, using TBXML parser and inserting the attribute value in the NSArray. This NSArray is an object of records. What will be the…
Emon
  • 958
  • 3
  • 10
  • 28
1
vote
1 answer

TBXML Parser gives a EXC_BAD_ACCESS

I'm using the TBXML Parser to parse some big xml file. The xml file is structured like this: And this is the code which i'am using to parse the xml: - (void)loadURL { // Load and…
Jos
  • 2,421
  • 5
  • 26
  • 30
1
vote
1 answer

iOS - TBXML - Get ALL -tags

I tried to start with TBXML, but I don't understand how it works... How can I get ALL img-tags (as TBXMLElement) from a document?
1
2 3 4 5 6