---- 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 ...
|
|
|
|