[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: dumb question:

Subject: RE: dumb question:
From: Jim Michael <JMichael@xxxxxxx>
Date: Tue, 4 Apr 2000 08:32:25 -0400
printwithformat function
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.