NAME

Mozilla::DOM::DocumentType

Mozilla::DOM::DocumentType is a wrapper around an instance of Mozilla's nsIDOMDocumentType interface. This inherits from Mozilla::DOM::Node.

* Each Document has a doctype attribute whose value is either null
* or a DocumentType object.
* The nsIDOMDocumentType interface in the DOM Core provides an
* interface to the list of entities that are defined for the document.
*
* For more information on this interface please see
* L<http:E<sol>E<sol>www.w3.orgE<sol>TRE<sol>DOM-Level-2-CoreE<sol>>

CLASS METHODS

$iid = Mozilla::DOM::DocumentType->GetIID()

Pass this to QueryInterface.

METHODS

$namednodemap = $documenttype->GetEntities()

A Mozilla::DOM::NamedNodeMap containing the general entities, both external and internal, declared in the DTD. Parameter entities are not contained. Duplicates are discarded.

In list context, returns a list of Mozilla::DOM::Entity, instead.

$str = $documenttype->GetInternalSubset()

$name = $documenttype->GetName()

$namednodemap = $documenttype->GetNotations()

A Mozilla::DOM::NamedNodeMap containing the notations declared in the DTD. Duplicates are discarded.

In list context, returns a list of Mozilla::DOM::Notation, instead.

$id = $documenttype->GetPublicId()

$id = $documenttype->GetSystemId()

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.