[Roma.pm] xml + tag name

Oha oha at oha.it
Tue Jul 17 02:27:40 PDT 2007


>Salve sto cercado un modo per ricavare i nomi dei tag utilizzando
>XML:Simple, ma non ne vengo a capo.

se ricordo bene, ritorna una struttura di hash di hash.
in perl, un hash puo' esser usato come array

quini se $ref contiene il nodo che ti interessa
dovresti ottenere il nome del nodo come $ref[0]

vado a memoria, non ho il modulo installato dove sono ora

ciao

Oha 



More information about the Roma mailing list