ң

DomDocumentType->public_id

(unknown)

DomDocumentType->public_id - public id .

string DomDocumentType->public_id (void)

public id .

/echo .

1. 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