[jdom-interest] Line feed parsing

Li Zhao pipizhao at yahoo.com
Mon Dec 10 12:17:37 PST 2001

Not quite familiar with jdom, need some help from you
experts. I have a probolem for outputting: There is an
attribute value, which is taken from a TextArea with
line feed ("Test\nGood"). The line feed seems not
converted properly, because what I see in the XML file
is something like 
<tag>xmi.id="_1.2" description="Test
Should the line feed be converted to something like
"&#10;" ?. Because when it is read back, the line feed
is replaced with a white space and it becomes "Test

Any ideas? Thanks in advance.


Do You Yahoo!?
Send your FREE holiday greetings online!

More information about the jdom-interest mailing list