Yes, you can... It's called a LexicalHandler. The interface for it can
be found in org.xml.sax.ext
dr bruce a pumplin wrote:
>
> Gabor,
>
> You *can't* get them back. The parser ignores them.
>
> Dr. Bruce A. Pumplin
>
> --- Gabor Siklos <[EMAIL PROTECTED]> wrote:
> > this might be very easy but i couldn't get it to work.
> >
> > i'm using the default SAX parser:
> >
> > parserFactory_ = SAXParserFactory.newInstance();
> > parser_ =
> > parserFactory_.newSAXParser();
> >
> > but i can't get the " <!-- " type comments out of the parsed
> > file using an
> > implementation of ContentHandler. which method gets called in
> > case of a
> > comment like the above?
> >
> > thanks,
> >
> > -gabor
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]