Convert XML to .plist

Posted by Dror Sabbag on Stack Overflow See other posts from Stack Overflow or by Dror Sabbag
Published on 2010-05-16T17:13:46Z Indexed on 2010/05/16 17:20 UTC
Read the original article Hit count: 270

Filed under:
|
|

Hey,

I have an XML exported from Oracle DB, which will be downloaded into my application main bundle.

i would like to convert this XML file into .plist file so i can assign the values into NSDictionary and NSArrays..

Is there a way to get this to work? or is there a better way to work with an external XML file?

note that one of the fields in the XML is a full HTML content

example:

<main>
    <DATA_RECORD>
      <ID>ID1</ID>
      <NO>1234512</NO>
      <TYPE>NEW</TYPE>
      <TYPE_NO>0</TYPE_NO>
      <TEXT_ID>TEXT1</TEXT_ID>
      <TEXT><HTML>some html goes here</HTML></TEXT>
    </DATA_RECORD>
  </main>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about plist