I am using HTTPService to hit a URL which returns me data in XML format.
Now on HTTPService I have set the resultFormat to "e4x".
Now in the searchResultHandler When I do an Alert.show(""+event.result) I see the response ,however there are some CDATA elements in that XML.
I want to get rid of the stuff in Bold.Has anybody come across this issue?
To get rid of the items just research the string manipulation functions... but
You may not want to get rid of them... the reason that they are there is that the items are query or search strings which could contain actual code and if not between CDATA tags would be interpreted as code by the compiler.... not what you would want.
XML_ROOT = the name of the root element of your XML data.