Subject: Re: where does one stick the doctype?
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 20 Mar 2003 20:00:39 -0700 (MST)
|
mark_fletcher@xxxxxxxxxxxxxx wrote:
> I understand that a DOCTYPE declaration can contain any valid element in
> the DTD.
The name of the element pointed to by the document type declaration
can be any Name at all, sure. But why does it matter to you?
A non-validating parser doesn't care what the name is.
It only makes a difference when using a validating parser, in which
case it must be the name of the root/document element of that document.
http://www.w3.org/TR/REC-xml#vc-roottype
Mike
--
Mike J. Brown | http://skew.org/~mike/resume/
Denver, CO, USA | http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|