Hi,

 I've put a multiline text into a FlyweightText object and expected it to 
be multiline when serializing it to XML file, however the line separators 
are missing in the XML file, i.e. when serializing, dom4j made a single-
line string from the multiline one. I've made the following steps:

 I've created the text in a java.lang.String object separated by '\n' 
characters. Then created a FlyweightText from the String and added it 
to added to a org.dom4j.Element element. Finally serialized it to XML.

Any ideas?

Regards,

Zoltan




-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to