PHP 忒聊
綴豖
ヶ輛
DomDocumentType- public_id
(no version information, might be only in CVS)
Description
This function returns the public id of the document type.
The following example echos nothing.
瞰赽 1. Retrieving the public id
?php include("example.inc"); if(!$dom = domxml_open_mem($xmlstr)) {echo "Error while parsing the document\n"; exit;} $doctype = $dom- doctype(); echo $doctype- public_id();?
綴豖
れ萸
ヶ輛
DomDocumentType- notations
奻珨撰
DomDocumentType- system_id