Used XStream lib, but no children XML was difficult to parse in Java.
Wanting to parse Simple XML File but don't know how to do it.
Is there any effective way to parse ?
< xml version="1.0" encoding="UTF-8" ? > < error > < ![CDATA[ Hello ]] > < /error >
thanks in advance.
You can retrieve the CDATA using sax using characters() callback. Here is the example