PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DomElement->get_attribute_node()> <DomDocumentType->public_id()
Last updated: Fri, 20 Jun 2008

view this page in

DomDocumentType->system_id()

(No version information available, might be only in CVS)

DomDocumentType->system_id() — Retourne l'identifiant système du type de document

Description

DomDocumentType
string system_id ( void )

Retourne l'identifiant système du type de document.

Valeurs de retour

Retourne l'identifiant système de DomDocumentType, comme une chaîne de caractères.

Exemples

Exemple #1 Lire un identifiant système DOM XML

<?php
include("exemple.inc");

if(!
$dom domxml_open_mem($xmlstr)) {
  echo 
"Erreur durant l'analyse du document\n";
  exit;
}

$doctype $dom->doctype();
echo 
$doctype->system_id();
?>

L'exemple ci-dessus va afficher :

/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd

Migration vers PHP 5

Utilisez la propriété systemId de l'objet DOMDocumentType.



add a note add a note User Contributed Notes
DomDocumentType->system_id()
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites