DomDocumentType->name()
    (no version information, might be only in CVS)
DomDocumentType->name() -- 
   文章型の名前を返す
  
説明
class 
DomDocumentType { 
string 
name ( void  )
}
   この関数は文章型の名前を返します。
  
返り値
   DomDocumentType の名前を文字列として返します。
  
例
   
例 1. 文章型の名前を取得する 
<?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
  ?>
 |  
  | 
  PHP 5 への移行
   DOMDocumentType オブジェクトの
   name プロパティを使用してください。