Hello,
   One way is to use 'write' method of  'XmlDocument' interface of JAXP parser. But 
remember, XmlDocument is not a W3C DOM specification, its a JAXP interface.

regards.



 
On Mon, 10 June 2002, August Detlefsen wrote:

> In-Reply-To: <001a01c21463$2a8fcc20$1700000a@ram>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Delivered-To: mailing list [EMAIL PROTECTED]
> Received: (cpmta 8004 invoked from network); 10 Jun 2002 13:28:30 -0700
> Received: from 192.18.49.131 (HELO nagoya.betaversion.org)
>       by smtp.c009.snv.cp.net (209.228.34.141) with SMTP; 10 Jun 2002 13:28:30 -0700
> Received: (qmail 20114 invoked by uid 97); 10 Jun 2002 20:28:19 -0000
> Received: (qmail 20102 invoked by uid 98); 10 Jun 2002 20:28:19 -0000
> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> Content-Length: 690
> Content-Type: text/plain; charset=us-ascii
> X-Antivirus: nagoya (v4198 created Apr 24 2002)
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> List-Subscribe: <mailto:[EMAIL PROTECTED]>
> X-Received: 10 Jun 2002 20:28:30 GMT
> List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
> Precedence: bulk
> List-Post: <mailto:[EMAIL PROTECTED]>
> Subject: Writing XML
> List-Help: <mailto:[EMAIL PROTECTED]>
> From: August Detlefsen <[EMAIL PROTECTED]>
> List-Id: "Tomcat Users List" <tomcat-user.jakarta.apache.org>
> Return-Path: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 10 Jun 2002 13:28:16 -0700 (PDT)
> Message-Id: <[EMAIL PROTECTED]>
> 
> There seem to be a million libraries out there for reading and parsing
> XML, but how can I WRITE XML? 
> 
> I essentially want to take a Collection of Objects (like a List of
> Strings) and create an XML Object from that (That I could save to the
> filesystem or a database, or pass along to another Servlet for
> processing). 
> 
> Can anyone recommend a good API for doing this? 
> 
> Thanks,
> August
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to