开发者

Xml Functions in iphone [closed]

开发者 https://www.devze.com 2023-03-31 13:16 出处:网络
It's difficult to tell what is being as开发者_如何转开发ked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current for
It's difficult to tell what is being as开发者_如何转开发ked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

With Out using xml Functions:

didStartElement

foundCharacters

didEndElement

how to get Xml datas


You need to use an NSMutableString for example, and each time foundCharacters method is called, you append the new characters to the string, once the didEndElement gets called, you know your mutable string is complete for the previous element


Look at TBXML http://www.tbxml.co.uk/TBXML/TBXML_Free.html

0

精彩评论

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

关注公众号