You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Ghershony, Arie" <Ar...@GDC4S.Com> on 2003/02/12 19:44:58 UTC

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 


Re: Type ??

Posted by Jeff Greif <jg...@alumni.princeton.edu>.
StringWriter w = new StringWriter();
XmlUtils.PrettyElementToWriter(result, w);
return w.toString();
  ----- Original Message ----- 
  From: Ghershony, Arie 
  To: 'axis-user@ws.apache.org' 
  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