저는 iOS 용 일일 응용 프로그램의 성경 인용문을 작성 중이며 XML
데이터를 구문 분석하여 응용 프로그램의 UITextView
에 온라인으로 표시 할 수 있는지 궁금합니다.웹 사이트의 XML 파일을 UITextView로 구문 분석합니다.
<bible>
<title>John 1:14</title>
<item>
<bookname>John</bookname>
<chapter>1</chapter>
<verse>14</verse>
<text>
Now the Word became flesh and took up residence among us. We saw his glory – the glory of the one and only, full of grace and truth, who came from the Father.
</text>
</item>
<results>1</results>
</bible>
나는 다른 UITextView
한 UITextView
및 <text>
에 <title>
을 구문 분석 생각 해요. 아무도 이것으로 도울 수 있습니까? Apple의 NSXMLParser
을 사용할 수 있습니까?
아마도 도움이 될 수 있습니다. http://stackoverflow.com/a/9884929/1153630 –