(no version information, might be only in CVS)

DomDocumentType->public_id --  Returns public id of document type


string DomDocumentType->public_id ( void )

This function returns the public id of the document type.

The following example echos nothing.

Example 1. Retrieving the public id


if (!
$dom = domxml_open_mem($xmlstr)) {
"Error while parsing the document\n";

$doctype = $dom->doctype();

Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft