[jdom-interest] XMLOutputter

Eddy, Joel joel.eddy at netivation.com
Wed Jul 12 17:05:22 PDT 2000

basically i would like to be able to build an xml (string/document whatever)
with jdom then store that string as an object and be able to write to a
file.. insert into a database (especially this one) or send it to a servlet
for processing (and this one :)  im thinking maybe i can edit or make
another XMLOutputter class.. then call that and return the string object
instead.. i've already kinda done this anyway.. but i dont really want to
rewrite the wheel... 
or i guess i could save it to a temporary file....

-----Original Message-----
From: Elliotte Rusty Harold [mailto:elharo at metalab.unc.edu]
Sent: Wednesday, July 12, 2000 4:41 PM
To: Eddy, Joel; jdom-interest at jdom.org
Subject: Re: [jdom-interest] XMLOutputter

At 2:35 PM -0700 7/12/00, Eddy, Joel wrote:
hello again....

if i wanted to store the output from calling the XMLOutputter 
constructor... how would i do so.. i've tried variations of casting 
to an Object or giving a different OutputStream to the XMLOutputter 
contructer.. but it only seesm to want to accept System.out.. any 

I suspect you're using some of the methods in JDOMb4 that expect a 
PrintStream as an argument. Your problem will probably be fixed by 
upgrading to the latest version in CVS. If not, then provide some 
more details and I'll try to hunt it down.

| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
To control your jdom-interest membership:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000712/f093cf63/attachment.htm

More information about the jdom-interest mailing list