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

search for in the

DomNode->parent_node> <DomNode->node_value
Last updated: Fri, 18 Jul 2008

view this page in

DomNode->owner_document

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

DomNode->owner_document — Restituisce il documento a cui appartiene questo nodo

Descrizione

object DomNode->owner_document ( void )

Questa funzione restituisce il documento a cui appartiene questo nodo.

L'esempio seguente produce due liste uguali di nodi figli.

Example #1 Ricerca del documento di un nodo

<?php
$doc 
domxml_new_doc("1.0");
$node $doc->create_element("para");
$node $doc->append_child($node);
$children $doc->children();
print_r($children);

$doc2 $node->owner_document();
$children $doc2->children();
print_r($children);
?>

Vedere anche domnode_insert_before().



add a note add a note User Contributed Notes
DomNode->owner_document
There are no user contributed notes for this page.

DomNode->parent_node> <DomNode->node_value
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites