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
In reply to Re^9: how does XML::DOM load XML?
by davorg
in thread how does XML::DOM loadXML?
by ashwani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |