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
0
votes
1 answer

Warning unable to restore previous frame and giving error: EXC_BAD_ACCESS

My iPhone app crashes and gives the following warning warning: Unable to restore previously selected frame. Current language: auto; currently objective-c warning: Unable to restore previously selected frame. warning: Unable to restore previously…
0
votes
2 answers

TBXml empty tag text

I am using TBXML in a project of mine and I was wondering Is there a way to check if a tag contains no text, for instance vs This is text When I use the debugger and type po [TBXML…
Armand
  • 9,847
  • 9
  • 42
  • 75
0
votes
0 answers

TBXML framework for XMLs from URL

This provided http://www.tbxml.co.uk/TBXML/Guides.html Guides doesnt work for me on Xcode4, iOS 5 SDK with ARC. Who has real/tested sample?
ksprs8
  • 53
  • 2
  • 12
0
votes
2 answers

TBXML root element always null

I am completely baffled by this as I have coded several other methods using TBXML to properly parse an XML file. Below is the method in question. The root element remains null no matter what I try therefore the rest of the method fails. As you…
jason
  • 5
  • 1
0
votes
2 answers

When i reverse navigate the UITableViewController then app crashes why?

Actually My problem is....suppose i have an UITableView controller when i select a cell then it goes another controller which is also an UITableView controller.but when i return back from second controller to first UITableView controller then app…
Emon
  • 958
  • 3
  • 10
  • 28
0
votes
1 answer

TBXML Parser to parse an RSS Feed

I am trying to parse this feed: http://missing.amberalertnederland.nl/nl/index.rss with the TBXMLParser. For that purpose im using this code: - (void)loadRecords:(NSString *)records { NSString *someXML =…
MaikelS
  • 1,309
  • 4
  • 16
  • 33
0
votes
1 answer

How can I parse this xml using TBXML in Objective-C?

I know my xml looking very much odd but nothing to do. Now my problem is how can I parse this xml attribute and its value using TBXML? − 100 October 13th, 2011 at 2:43 PM 45
Emon
  • 958
  • 3
  • 10
  • 28
0
votes
1 answer

will TBXML Parser be approved by apple?

If anybody has used TBXml parser in iphone application without any memory leak,will it be approved by apple?because it is a third party utility.
user141302
0
votes
1 answer

TBXML parsing using objective- c

Am trying to parse the below xml using TBXML. I want to create an array which contains all the item tag values. How can I traverse through the "item" tags?
Tinku
  • 133
  • 2
  • 15
0
votes
1 answer

Memory leak when using TBXML in Objective-C

I'm new to Objective C and am still not very clear about how to use retain and release. In the following code, I want to use TBXML to parse an XML file and populate a TableView. The code works, but when I "Analyze" my app, Xcode says there are…
0
votes
2 answers

Problem processing XML data with TBXML

I have a .NET web service I have to connect to, and unfortunately, I can't change the web service. I built the web service call with NSURLConnection, and I receive the response fine. I take the NSData object I'm receiving from the web service call,…
DKS
  • 1
  • 6
0
votes
1 answer

TBXML Parsing Bug while parsing &

When I parse the below xml: ... N & S nishu ... using the following line code: TBXMLElement *element10 = [TBXML childElementNamed:@"opp_brief" parentElement:element8]; if (element10 != nil) { NSLog(@"TBXMLLLLL:::::…
0
votes
2 answers

Array gets overwritten when parsing XML (Objective-C)

I'm using the TBXML parser but having some difficulties. I use the following code to add data from the product object to an MutableArray called laarzen. - (void)loadURL { // Load and parse an xml string Products *product = [[Products alloc]…
Jos
  • 2,421
  • 5
  • 26
  • 30
0
votes
1 answer

Get encoding for xml-file using TBXML

How do I access the encoding for an xml-file using TBXML? To clarify: I would like to acsess the top row in an xml-file and there get the value of encoding by using TBXML. ?xml version="1.0" encoding="utf-8"?
Alecktos
  • 77
  • 1
  • 6
0
votes
0 answers

How to parse all XML tags and its content in between two XML tags? TBXML

I want to get all the child XML tags and its data in between a tag. My response xml is as follows. 800
Soorej Babu
  • 350
  • 2
  • 19