Hi,
I need to store the text <]]>" in an XML file.
I can't store it as attribute because it contains " character.
I can't store it as text because it contains < and > characters.
So i tried to store it as CDATA, but it seems that the ]]> characters
are not allowed in CDATA, as these are used as end-marker.
So, following doesn't work:
document.addElement("a").addCDATA("<]]>\"");
.... save document ....
.... load document .... => fatal load error
Does anyone have a suggestion how to solve this problem??
Silvain
p.s. above string is a simplified example of what's really happening,
but above describes the basic problem.
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user