in reply to Re^8: how does XML::DOM load XML?
in thread how does XML::DOM loadXML?
but $value->getNodeValue is not returning me value
But in the example XML that you gave, none of the nodes have a value. So of course $value->getNodeValue will return "undef".
Also I've just spotted this:
$report .=qq|<strong>$value->getNodeValue </strong> <br>|;
Function (and method) calls don't interpolate in double-quoted strings.
Oh, and my name isn't "Chip". That's someone else completely.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: how does XML::DOM load XML?
by ashwani (Initiate) on Jan 24, 2007 at 10:17 UTC |