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

search for in the

DomElement->get_attribute_node> <DomDocumentType->public_id
Last updated: Fri, 14 Aug 2009

view this page in

DomDocumentType->system_id

(PHP 4 >= 4.1.0)

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

Description

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 | sitemap | contact | advertising | mirror sites