CL_DomDocumentType - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_DomDocumentType

DOM Document Type class. More...

Derived from: CL_DomNode
Derived by: none
Group: Core (XML)

#include <ClanLib/core.h>

Construction:

CL_DomDocumentType | Constructs a DOM Document Type handle.

Attributes:

get_name | The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
get_entities | A NamedNodeMap containing the general entities, both external and internal, declared in the DTD.
get_notations | A NamedNodeMap containing the notations declared in the DTD.

Detailed description:

!group=Core/XML! !header=core.h!

Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM Level 1 Core provides an interface to the list of entities that are defined for the document, and little else because the effect of namespaces and the various XML scheme efforts on DTD representation are not clearly understood as of this writing.

The DOM Level 1 doesn't support editing DocumentType nodes.

Questions or comments, write to the ClanLib mailing list.