Re: another ownerDocument property question

"K. Ari Krupnikov" wrote:
> Now what about DocumentType?
> 
> interface DocumentType : Node
> 
> It apperars that several Documents may share a DocumentType. What then
> should be that DocumentType's ownerDocument?

The DocumentType can't be shared between documents. In DOM Level 2, the
DocumentType interface also contains the internal subset. When a DocumentType
is not used with any document yet, ownerDocument is null.

Philippe

Received on Wednesday, 5 July 2000 07:29:07 UTC