This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: dumb question:


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]