DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XML::GDOME::DocumentType



NAME

  XML::GDOME::DocumentType - Interface DocumentType implementation.


SYNOPSIS

  $nnm = $dt->getEntities();
  $str = $dt->getInternalSubset();
  $str = $dt->getName();
  $nnm = $dt->getNotations();
  $str = $dt->getPublicId();
  $str = $dt->getSystemId();


CLASS INHERITANCE

the XML::GDOME::Node manpage > XML::GDOME::DocumentType


METHODS

$nnm = $dt->getEntities();
Returns: a NamedNodeMap containing the general entities, both external and internal, declared in the DTD. Parameter entities are not contained. Duplicates are discarded.

$str = $dt->getInternalSubset();
Returns: The internal subset as a string, or undef if there is none or on error.

$str = $dt->getName();
Returns: the name of DTD; i.e., the name immediately following the %DOCTYPE keyword.

$nnm = $dt->getNotations();
Returns: a NamedNodeMap containing the notations declared in the DTD. Duplicates are discarded. Every node in this map also implements the Notation interface.

$str = $dt->getPublicId();
Returns: the public identifier of the external subset.

$str = $dt->getSystemId();
Returns: the public identifier of the external subset.