How can I get actual attribute value instead of XML::DOM::NamedNodeMap=HASH(0xa3246d4)
while using getAttribute function from XML::DOM parser
Code
my $parent = $doc->getElementsByTagName ("ParentTag")->item(0);
my @parent = $childnodes->getChildNodes();
{
foreach my $parent(@parent)
{
if ($parent->getNodeType == ELEMENT_NODE)
{
print $parent->getNodeName;
print $parent->getAttributes;
}
}
}