iOS app ignore tabs and whitespace when parsing

unknownerrors

New Member
I have an iphone app that is parsing xml that I generated myself. To make it easier to read, I'd like to be able to ignore the tab and return characters. If I have the xml formatted, the table view that displays the data is tabbed itself. I saw this question:XML Parsing: how to ignore whitespace or enter/return spacebut it doesnt seem to rid the tab/return characters, it just gets rid of all the whitespace. In other words, I want the content within the element itself to remain spaced while the tabs in the xml file (for formatting/ease of reading) to be ignored.How can I do this?Here is a sample of the XML that I want to display. It is the contents inside the XML:\[code\] <Event> <EventName>STUFF TO DISPLAY</EventName> <EventImage>STUFF TO DISPLAY</EventImage> </Event>\[/code\]
 
Back
Top