开发者

how to parse text with enter in xml in iphone

I am trying to parse some text from a xml. But text contains enter so now whenever i try to read, it does not read beyond enter. Can some one help me? I really stuck.

T开发者_运维知识库hanks

Pankaj


I think you can try this.

NSString *xmlString = //the xml data;
[xmlString stringByReplacingOccurrencesOfString:@"\0" withString:@""];

//Now you can parse the xmlString


Hope it helped....

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜