开发者

iPhone xml parsing/editing a better solution?

I use GDataXML for parsing the XML I received from my webservice, actually I only parse the part that I need and then I want to "edit" that XML and send it back to Webservice.

I checked some GDataXML examples but they were about saving XML as model objects and creating an XML from model objects again.

Because speed is important what I want is without saving or converting that xml into model objects I just want to edit/delete some nodes on it and send it back quickly as possible.

Actually I can do this by simply converting it into string and do string manipulation.开发者_高级运维 But I dont think editing XML as a string is a safe way.

How can I do this better?

Thanks


I tend to use a XML to NSDictionary object that I found on google which saves a lot of time parsing and configuring the XML. Try that out.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜