But it doesn't recognize the class StringWriter!!
 
Thanks
Aria
-----Original Message-----
From: Jeff Greif [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 2:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Type ??

StringWriter w = new StringWriter();
XmlUtils.PrettyElementToWriter(result, w);
return w.toString();
----- Original Message -----
Sent: Wednesday, February 12, 2003 10:44 AM
Subject: Type ??

Hi,
 
How do I return this function (which is the an XML document.  here it is prinetd to the command line.
XMLUtils.PrettyElementToStream(result, System.out);
 
Thanks
Aria 

Reply via email to