Hi there,

I'm doing a prettyprinting using the following options:


OutputFormat format = new OutputFormat();
                    format.setEncoding("UTF-8");
                    format.setIndentSize(4);
                    format.setNewlines(true);
                    format.setTrimText(true);
                    format.setExpandEmptyElements(true);



If in my XML-file I have a multiline entry like this:

<notes> This is a      multiline
            entry</notes>


the output of the prettyprint looks like this:

<notes>This is a multilineentry</notes>

instead of
<notes>This is a multiline entry</notes>

which I would prefer.

Is this a bug?


--
Manfred






_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to