T.J. Mather > XML-GDOME-0.86 > XML::GDOME::DocumentType

Download:
XML-GDOME-0.86.tar.gz

Annotate this POD

CPAN RT

New  6
Open  0
View/Report Bugs
Source  

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 ^

XML::GDOME::Node > 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.

syntax highlighting: