Posted by Jeremy on 01/12/08 01:31
Jeremy wrote:
>
> You want preserveWhiteSpace = false and formatOutput = true (I know,
> it's weird.
Maybe not so weird, now that I think about it. preserveWhiteSpace =
true tells it to preserve whitespace text nodes to avoid changing the
meaning of the document. Indenting the document does in fact add
whitespace text nodes, which is a far cry from preserving them.
Jeremy
Navigation:
[Reply to this message]
|