0
我在包含%符號的XML中有一行。但改變的NSXMLParser太某種數字,如下面NSXMLParser不解析百分比%符號
2013-11-16 01:08:07.102 ECP[46386:a0b] string is Increased Discount to 45% from Sun City Tours
2013-11-16 01:08:07.102 ECP[46386:a0b] Deals CURRENT IS Increased Discount to 45 0.000000rom Sun City Tours
我的代碼在FoundCharacter方法是,
NSLog(@"string is %@", string);
if([string length]>0)
[currentStringValue appendFormat:string];
NSLog(@"Deals CURRENT IS %@", currentStringValue);