Did you check the options you can specify when you read and/or write the document? I'm not sure if that is possible but it seems there could be some setting somewhere that will let you do that.
Muzaffer > -----Original Message----- > From: Thomas Burns [mailto:to...@schoolloop.com] > Sent: Tuesday, February 24, 2009 8:21 PM > To: dom4j-user@lists.sourceforge.net > Subject: [dom4j-user] carriage return line feed in cdata > > Hi, > > It appears that dom4j strips out /r/n in cdata when it reads or writes xml. > Is this correct? Can anything be done about it? > > Thanks, > Tom Burns > > ---------------------------------------------------------------------------- > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > dom4j-user mailing list > dom4j-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dom4j-user ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user