As Neil mentioned in a previous note, you need to check SAX2 and not SAX. Take a
look at SAX2XMLReaderImpl::doctypeDecl.

Khaled

Adam Rogoyski wrote:

> On Wed, 2 Apr 2003, Gareth Reakes wrote:
>
> > Hi,
> >       DOMPrint uses DOMWriter while the SAX programs print stuff out
> > based on SAX events. To implement it in the SAX programs you would need to
> > write the appropriate handler in the SAXPrintHandler file. I believe that
> > doctypeDecl will do what you need although its been a while since I used
> > SAX.
> > Gareth
>
>    I see doctypeDecl() in DocTypeHandler, but I do not see any
> documentation on DocTypeHandler, nor does DefaultHandler derive from
> DocTypeHandler (which is used in the given example).  SAXParser derives
> from it, but the documentation says that the interface is deprecated.
>
>    Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to