logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: Quickstart advice for parsing a small xml file: msg#00069

Subject: Re: Quickstart advice for parsing a small xml file
---- or just as you implied, both DOM and SAX are available from JAXP. Be aware 
of the differance in nature of the two APIs. DOM beeing an in memory structure. 
SAX an event based parser.


----- Original Message ----- 
From: "Gary Gregory" <ggregory@xxxxxxxxxxxxx>
To: <xerces-j-user@xxxxxxxxxxxxxx>
Sent: Saturday, April 24, 2004 5:55 PM
Subject: RE: Quickstart advice for parsing a small xml file


> I would use neither. I would use either Sun's JAXB or a library like
> http://jakarta.apache.org/commons/digester/
> 
> Gary 
> 
> > -----Original Message-----
> > From: Roy Henderson [mailto:r_henderson@xxxxxxxxxxxxxxxxxxxxx]
> > Sent: Saturday, April 24, 2004 02:38
> > To: xerces-j-user@xxxxxxxxxxxxxx
> > Subject: Quickstart advice for parsing a small xml file
> > 
> > Hi,
> > 
> > I am writing a Java application for which I would like to use an
> xml-based
> > configuration file.
> > 
> > All I want to do is read in the file and then extract the values for
> the
> > various configuration parameters.
> > 
> > I would appreciate some advice or pointers regarding:
> > 
> > Should I use DOM or SAX approach for this?
> > 
> > Are there any simple examples of this which I can use as a base?
> > 
> > Thanks,
> > 
> > Roy
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
> > For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
> For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx
> 



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo