Subject: RE: dumb question:
From: Jim Michael <JMichael@xxxxxxx>
Date: Tue, 4 Apr 2000 08:32:25 -0400
|
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@xxxxxxxxxxxxx]
> Sent: Monday, April 03, 2000 12:19 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> 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
|