newbie question: how to use SAX in eclipse? [message #64678] |
Sun, 22 June 2003 17:14  |
Eclipse User |
|
|
|
Originally posted by: sunifyre.yahoo.com
Hi,
I'm trying to figure out what the XMLReader parser implementation is in
Eclipse for SAX, but I can't seem to figure it out. I would like to use the
org.apache.xerces.parsers.SAXParser, but I'm not sure how to specify this in
my XMLReader instantiation.
Should I:
1. download the SAX classes or the xerces parser (to set external libraries
for the project)?
2. Or is there a more straightforward way to do this?
3. Or is it something else altogether that I am not doing?
Any suggestions, advice or comments would be greatly appreciated!
Thanks in advance,
Sunitha Kumar
sunifyre@nospam.yahoo.com
|
|
|
|
|
|
|
Re: newbie question: how to use SAX in eclipse? [message #65794 is a reply to message #64921] |
Tue, 24 June 2003 05:40  |
Eclipse User |
|
|
|
> > Import the xerces plugin / add its libs as additional jars(BuildPath) or
> > just
> > use SDK 1.4.x from Sun (shipps with a xml engine).
>
> Thanks, I haven't tried that out yet, but I will.
>
> > Check out java.sun.com for a xml tutorial telling you the correct usage
of
> > the
> > shipped xml-api. (if necessary).
>
> : ) Thanks, I've been trying this approach this evening - it worked as
soon
> as I tried it.
> Now, if only the first approach works as well...
Well one think that works is, build a standalone xerces using application
outside
of eclipse (us a example provided by xerces) and import it to a new project.
Play around with it, get it to work (set up the classpath etc.) and then
just
use what you have learned on your troublemaker ;)
|
|
|
Powered by
FUDForum. Page generated in 0.03362 seconds