Brett McLaughlin wrote:
>
> This is no longer part of SAX 2, but SAX 1. To do this with SAX 2:
>
> XMLReader parser =
> new org.apache.xerces.parsers.SAXParser();
>
> The org.sax.XMLReader interface replaces org.sax.Parser (which is now
> deprecated).
I'd suggest to use (at least for SAX1) the following:
javax.xml.parsers.SAXParserFactory f;
javax.xml.parsers.SAXParser p;
f=javax.xml.parsers.SAXParserFactory.newInstance();
p=f.newSAXParser();
Pier
--
--------------------------------------------------------------------
- P I E R -
stable structure erected over water to allow the docking of seacraft
<mailto:[EMAIL PROTECTED]> <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <http://www.apachecon.com> --------------------