我有一個所謂的內容是[note content];
持有XML元素串hello world
的XML元素就像如何解析XML
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE en-note SYSTEM \"http://xml.evernote.com/pub/enml2.dtd\">\n<en-note>hello world </en-note>"
我試過的NSXMLParser解析這一點,但沒有luck.how我可以解析[note content];
並分開那個字符串?有沒有其他的方式來分隔這個字符串?
@rckoenes ...謝謝爲鏈接..我會用這個進一步愚蠢的問題....也許它應該是你的答案... – 2012-02-13 11:36:43
重複問題http://stackoverflow.com/q/6990236/468724 – 2012-02-13 11:41:38
@InderKumarRathore我把NSString * EN-注;我得到的錯誤是 - 符號不能是一個字符串。我怎樣才能解析這個字符串在XML中。 – stackiphone 2012-02-13 11:50:46