This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: dumb question:
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: dumb question:
- From: Jim Michael <JMichael at 3MC dot com>
- Date: Tue, 4 Apr 2000 08:32:25 -0400
- Reply-To: xsl-list at mulberrytech dot com
With XML4J, if I have a Document doc, I write to a file myfile using:
((TXDocument)doc).printWithFormat(new PrintWriter(new FileWriter(myFile)));
HTH.
Cheers,
Jim
> is there a way to get the xml to a string object. eg, could
> i call toString
> on the document object and get the string format of the xml doc?
> -----Original Message-----
> From: Narahari, Sateesh [mailto:Sateesh_Narahari@jdedwards.com]
> Sent: Monday, April 03, 2000 12:19 PM
> To: 'xsl-list@mulberrytech.com'
> Subject: RE: dumb question:
>
>
> using the DOM model, you can easily make an XML document.
> However, saving it
> to a file will be a big pain , since AFAIK, only MSXML parser
> supports Save
> method.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list