[XML-SIG] re: events for DTDs?

Greg Wilson gvwilson@nevex.com
Thu, 22 Jun 2000 13:31:49 -0400 (EDT)


I'm preparing material based on SAX-1 to use in a course I'll be teaching
later this summer. The first exercise is to build something that echoes
the contents of an XML file, and in order to do this correctly, I need to
be able to intercept the first couple of lines in my input file:

<?xml version="1.0"?>
<!DOCTYPE course SYSTEM "course.dtd">

I can't find any mention in the docs or tutorial of a method in
HandlerBase, its parents, or the parser classes that'll let me capture
this information.  I figure I must have overlooked something, and I'd be
grateful for pointers to the answer.

Thanks,
Greg

p.s. please reply directly to 'gvwilson@nevex.com', as I'm not a regular
reader of this group (yet).