[jdom-interest] Output Method problem

Anand, Rajesh Rajesh_Anand at ml.com
Tue Jun 14 23:34:16 PDT 2005

	I'm using Eclipse for development, it complains - "THE METHOD
Output(List , OutputStream) in the type XMLOutputter is not applicable
for arguments 
	(Document,  FileOutputStream)" 
	Yet there are methods available in class XMLOutputter as
output(doc OutStream) and output(Doc Writer). 
	So why the error??? 
	Here is the snippet of my code.. 
	FileOutputStream outf = new FileOutputStream(new

	XMLOutputter xout = new XMLOutputter();

	xout.output(doc, outf); 
	Any help will be greatly appreciated.

Rajesh Anand
Tel: + (44) (0) 207 996 1152
Mob: + (44) (0) 7947273151
Email:Rajesh_anand at ml.com

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050615/dcefb3bb/attachment.htm

More information about the jdom-interest mailing list