Quantcast
Channel: Parser line break if string contains – - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Gyani for Parser line break if string contains –

you can use CDATA section in your xml because characters like "<" and "&" are illegal in XML elements."<" will generate an error because the parser interprets it as the start of a new...

View Article



Answer by Walter for Parser line break if string contains –

I find that it is better to create your object in the didEndElement method. That way you can just keep appending the string data to some temporary string. So you might do something like below (NOTE:...

View Article

Parser line break if string contains –

My NSXMLParser breaks on this string:<title>AAA &#8211; BCDEFGQWERTYUIO</title>I parsed it in this way, hope is the right way:- (void) parser: (NSXMLParser *) parser foundCharacters:...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images