[jdom-interest] formatting XML document
brett at newInstance.com
Wed Mar 28 12:36:09 PST 2001
You probably want:
XMLOutputter outputter = new XMLOutputter(" ", true);
which uses two-space indents and adds newlines to the output.
----- Original Message -----
From: "Palaniappan, Krishnasamy" <PalaniK at diebold.com>
To: <jdom-interest at jdom.org>
Sent: Wednesday, March 28, 2001 2:24 PM
Subject: [jdom-interest] formatting XML document
> Could someone please tell me how I can format the output XML document
using JDOM? Currently, the entire XML document is unformatted (i.e. all the
tags are in one line).
> To control your jdom-interest membership:
More information about the jdom-interest