DomDocumentType->name
(No version information available, might be only in CVS)
DomDocumentType->name — Restituisce il nome del tipo documento
Descrizione
string DomDocumentType->name
( void
)
Questa funzione restituisce il nome del tipo documento.
Example#1 Ottenere il nome del tipo documento
<?php
include("example.inc");
if (!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\n";
exit;
}
$doctype = $dom->doctype();
echo $doctype->name(); // chapter
?>