I have an Android application that uses the SAX parsers to extract data from an XML file. Some of the data is found within some CDATA tags and sometimes contains newline characters. Those newline characters are being removed during parsing. How do I preserve them?
By the way, I thought I found an answer here, but placing "
" inside a CDATA tag will only result in getting a "
" when I parse it.
Does anyone have any suggestions?
Thank you.