Re: SAX: Prolog (question 8 of 10)
Sean Mc Grath (digitome@iol.ie)
Sun, 4 Jan 1998 12:18:33 GMT
>At 20:17 03/01/98 -0500, David Megginson wrote:
>>
>>Should SAX include events for the start and end of the prolog, and/or
>>for the DOCTYPE declaration?
>
YES for the DOCTYPE. One of the things I think will emerge is
a standard way for software to stare at a website full of XML documents and
pull out only those XML documents of type "International Invoice Format"
or "Universal Newswire Format" or whatever. Given that the root element
can be any sub-tree of the DTD where else could this info go?
Sean Mc Grath
sean at digitome dot com