Laura Neitzel wrote:
> 
> Does anyone have an example of integrating the validating xerces parser with
> sun's SaxParserFactory class?

I believe there's an example coming with Sun's r.i. but, anyhow, here it
is:

SAXParserFactory f=SAXParserFactory.newInstance();
f.setValidating(true);
SAXParser p=f.newSAXParser();
p.parse(...., ....);

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


Reply via email to