DomElement->tagname --
Restituisce il nome dell'elemento corrente
Descrizione
string DomElement->tagname ( void )
Returns the name of the current node. Chiamare questa funzione è come
accedere alla proprietà tagname del nodo corrente,
o chiamare DomElement->node_name().
Esempio 1. Ottenere il nome del nodo
<?php
include("example.inc");
if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; }