<html>
<body>
I'm building a document using SAXBuilder, and I want to keep the line
breaks in the text-content of an attribute on one of the elements. How do
I do that?<br><br>
Example:<br>
-----------------------------<br>
<font face="Courier New, Courier"><?xml version="1.0"
encoding="UTF-8"?><br>
<page><part edit="false"
text="dsdsfd"><view>dsdsfd&lt;br/&gt;<br>
</view></part><part text="dfsfs<br><br>
*Hello<br>
*Hello again"><br><br>
</part></page><br>
</font>-------------------------------------<br>
How can I keep the linebreaks from the source XML-file into the jdom
Element?<br><br>
Do I have to use CData or must I set a property on the
SAXBuilder?<br><br>
Thanks<br>
<x-sigsep><p></x-sigsep>
Morten Andersen<br>
Master of applied mathematics and computer science<br>
Amanuensis<br>
Interest areas:<br>
-e-learning<br>
-software engineering<br>
-applied math<br><br>
The Maersk Institute of Production technology at Southern Danish
University
<a href="http://www.mip.sdu.dk/" eudora="autourl">www.mip.sdu.dk</a><br>
Campusvej 55<br>
DK-5230 Odense M<br>
Denmark<br>
+45 6550-3654<br>
+45 6171-1103<br>
Jabber id: hat@jabber.dk<br>
</body>
</html>