Hi,
I have an attribute in my XML, something like <field=abcdefghi/>
I need to insert a CRLF after abc and after def so that when output it's shown as
abc
def
ghi
so in my
java I have something like
....."abc\r\ndef\r\nghi\r\n
I have found out that the parser will strip out the LF and leave the CR between each one, but I need to retain BOTH.
Am I right in thinking that CDATA will allow me to do this?
If so, how can I accomplish this using JDOM for my attribute? I can see how you do it as an element.
Thanks
Dave