I have a XML file and I need to extract the info in "<![CDATA["
tag using Castor in spring-mvc. I need to know how to write the mapping.xml file.
Here is the XML:
<comprobante>
<![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<comprobanteRetencion id="comprobante" version="1.0.0">
****
</comprobanteRetencion>
]]>
</comprobante>
I removed the tag CDATA. Once I removed that tag, I could treat the xml file normally. Here is the whole solution