I am having trouble setting up my cellForRowAtIndexPath with Sections. If I were to just show all "tracks" without separations of sections by "topics" then it works fine.
Track *aTrack = [appDelegate.tracks objectAtIndex:row];
cell.textLabel.text = aTrack.track_title;
I have already set up my numberOfSectionsInTableView, numberOfRowsI...
Hi,
I downloaded wikipedia dump and want to convert from wiki format to my object format. Is there a wiki parser available that converts the object into xml.
Thank you
...
I was using UTF-8 encoded xml for parsing using NSXMLParser. But some of the special characters were causing problems and so decided to use ISO-8859-15 encoding.
But after that the parser doesnt even start parsing and is giving the error 31 - NSXMLParserUnknownEncodingError. What should I do now? Is it possible by anyway we can parse a...
Hi,
I'm working with NSXMLParser that parses a xml document. You have to set the delegate which we would be called every time the parser finds an element. The examples I've looked at all set the delegate to be the same class that's createing:
NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:filename];
[parser setDelega...
I've got an nsxmlparser. It works well enough, though I had to convert all the special characters coming into it into their coded equivalents: & had to be &, " had to be ", and so on. However, § (§) kills it at parser:didStartElement.
Do you know a way around this? Naturally, I need the § characters to show up.
...
hi all,
I do have an xml file like,
<posts>
< photo id="12412" private="false" >
<title>happy_diwali_diya_wallpaper</title>
<caption>Happy Diwali</caption>
<dateCreated>2010-10-14</dateCreated>
<dateLastUpdated>2010-10-14</dateLastUpdated>
<postDate>2010-10-14</postDate>
<orientation>HORIZONTAL</orie...
I have some strange problems with crash reports from 10.5.
Thread 11 Crashed:
0 libxml2.2.dylib 0x93753ec0 xmlClearParserCtxt + 1776
1 libxml2.2.dylib 0x9372f724 xmlParseCharData + 308
2 libxml2.2.dylib 0x93735034 xmlParseChunk + 3624
3 com.apple.Foundation 0x920c57c0 -[...
So have an XML file it parses perfectly fine up until I get a to an element that has weird tag inside of it.
The xml file looks a little like this.
<xml>
<badtag><![CDATA[ This is the text that i want ]]> </badtag>
</xml>
For some reason when it comes in contact with "that*" tag the app goes hay wire. The next view loads however i...
Hi,
I have a small problem I can't seem to solve. I have a XML page with the following content:
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCategory xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://api.tradera.com">
<Category Id="1612" Name="Category 1">
<Categ...
hello everyone.In my application am getting an xml file from server and in that i have some attributes for the element.i donno how to read the attributes can anyone help me please..
...
Hi guys
I have the following url http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured?&start-index=1&max-results=15&v=2
I am trying to load it in UIWebView and then use javascript to get its contents, and parse it with NSXMLParser.
My code looks like that:
-(void)startDownloading{
NSString *urlStr = [NSS...
Hi there guys.
I'm hitting a wall over and over again, trying to solve a problem I've got in xcode. I'm a newbie and started coding just a while ago.
I'm trying to make a XML parser based on this tutorial: http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader
which works fine separately, but when I'm implementing it into ...
I'm using NSXMLParser to parse a small XML file containing information about videos. One of the elements in the XML is a URL that points to a thumbnail image associated with each video. I'm trying to parse the XML, get the ImageURL and then use this to fetch the image and store it along with strings such as the video name.
I just can't ...
I have an navigation-based app with three view controllers. The first has categories of information, the second has a list of items from that category and the third has detail on a specific item.
I populate view controllers 1 and 2 using an NSXMLParser which gets called on viewWillAppear. In the forward (VC1 to VC2 to VC3) direction, ev...
I want to put in a timeout in case it takes too long to find my location, send out the relevant url, and parse the xml. It worked when I used performSelector:withObject:afterDelay in the locationManager (just to test getting the xml), but when I put similar code around my parser it doesn't actually abort the parsing. I am testing this by...