Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

DOMNamedNodeMap->getNamedItem()

(no version information, might be only in CVS)

DOMNamedNodeMap->getNamedItem() --  Retrieves a node specified by name

Описание

class DOMNamedNodeMap {

DOMNode getNamedItem ( string name )

}

Retrieves a node specified by its nodeName.

Список параметров

name

The nodeName of the node to retrieve.

Возвращаемые значения

A node (of any type) with the specified nodeName, or NULL if no node is found.

Смотрите также

DOMNamedNodeMap->getNamedItemNS()



add a note add a note User Contributed Notes
DOMNamedNodeMap->getNamedItem()
franp at free dot fr
03-Mar-2006 07:28
Basic example of use :

<?xml version="1.0" encoding="UTF-8"?>
<racine version="2.0a">
  <article/>
</racine>

<?php
(...)
 echo
$doc->documentElement->attributes->getNamedItem("version")->nodeValue;

// returns "2.0a"
?>

 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571