xsl-list
[Top] [All Lists]

Re: where does one stick the doctype?

2003-03-20 20:00:39
mark_fletcher(_at_)peoplesoft(_dot_)com 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