views:

94

answers:

1

Hi guys, obj-c question. I have text that I parse that contains CDDATA (html amp chars etc). Now, is there a way to render it on the UI with some control, locally, and secondly, is there a clean way of editing it (converting it perhaps from cddata to text in a textarea)?

+1  A: 

If you know for sure the data is CDATA, you can wrap it in a tag and use NSXMLParser to parse the into an NSString*

jon hohle