[jdom-interest] Document.getSerializedForm()
Guy Nirpaz
guyn at tantian.com
Wed Sep 20 06:50:41 PDT 2000
Hi Phil -
You should use the org.jdom.XMLOutputter -
something like
XMLOutputter outputter = new XMLOutputter(" ",true);
outputter.output(doc, System.out);
instead of System.out - you can put any java.io.Reader or
java.io.OutputStream
-Guy
----- Original Message -----
From: "Philipp Zuderell" <philipp.zuderell at tanner.de>
To: <jdom-interest at jdom.org>
Sent: Wednesday, September 20, 2000 1:54 PM
Subject: [jdom-interest] Document.getSerializedForm()
> Hi all,
>
> I need a String-representation of a Document object, in order to pass it
> to my JavaMail client to send it along as an eMail attachment.
> Unfortunately, Document.getSerializedForm() doesn't work.
> When is it expected to be implemented?
> Is there another way to get a String representation of a Document
> object?
>
> Thanks in advance
>
> -- phil
>
>
> --
> P.S. Tanner Dokuments ist umgezogen, bitte geaenderte
> Adresse beachten! - Tanner Dokuments has moved;
> please notice the changed address!
>
> ----------------------------------------------------
> Tanner Dokuments GmbH+Co
> Philipp Zuderell
> Kemptener Strasse 99
> D-88131 Lindau
> Germany
>
> tel +49(0)8382/272-278
> fax +49(0)8382/272-900
> mailto:philipp.zuderell at tanner.de
> http://www.tanner.de
> ----------------------------------------------------
>
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>
More information about the jdom-interest
mailing list