Writing XML

2002-06-10 Thread August Detlefsen

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]




RE: Writing XML

2002-06-10 Thread Danny Ayers

How about DOM? - supported by pretty much any API.
Or extend the classes you are using and add a toString() method that
includes pointy-brackets...
or, if you wrap things up as beans, then SDK 1.4 supports xml serialization.
A direct and neat approach is done by JSX (open source) :
 http://www.csse.monash.edu.au/~bren/JSX/tech.html

have fun,
Danny.

---
Danny Ayers
stuff http://www.isacat.net /stuff


-Original Message-
From: August Detlefsen [mailto:[EMAIL PROTECTED]]
Sent: 10 June 2002 22:28
To: Tomcat Users List
Subject: Writing XML


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]



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




RE: Writing XML

2002-06-10 Thread Shapira, Yoav

Howdy,
Castor. http://castor.exolab.org/

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: August Detlefsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 4:28 PM
To: Tomcat Users List
Subject: Writing XML

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:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]


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




Re: Writing XML

2002-06-10 Thread beelzabeb

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$170a@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 -
 Received: (qmail 20102 invoked by uid 98); 10 Jun 2002 20:28:19 -
 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]