oops..i guess its dave..
thanks A lot for your warm help
well... i have solved my problem and giving solution here.
foreach my $value(@child)
{
my $val=$value->getChildNodes;
if($value->getNodeName eq "Name")
{
$report .="<strong>".$val->item(0)->getNodeValue ."</strong><br>";
}
}
basically $value type is element so to get value we have to take child first then its value in at what position you want or can run in loop.
i needed at 0 so din't use loop but some other one can take loop here.
thanks again for you help..
ashwani |