【发布时间】:2010-02-10 10:24:42
【问题描述】:
我是 iphone Development 的新手。我想删除标签之间多余的空格,只提取 xml 解析中的内容。我的 XML 文件就像
<entry>
<title>This is sample test</title>
<published>xxxxxxxx</published>
<summary> This is summary </summary>
</entry>
我能够解析XML文件并显示所有内容。由于摘要内容的前后都有空格,因此只有空格显示“this”一词。我想删除空白处并显示“这是摘要”。请帮帮我。谢谢。
【问题讨论】:
标签: iphone objective-c xml-parsing