DTA-CAB
view release on metacpan or search on metacpan
CAB/Format/XmlPerl.pm view on Meta::CPAN
elsif (exists($listNames{$nodname})) {
##-- ARRAY ref: <ARRAY ref="$ref"> ... xmlNode($eltVal) ... </ARRAY>
$ref = $nod->getAttribute('ref');
$val = [];
$val = bless($val,$ref) if ($ref && $ref ne 'ARRAY');
foreach ($nod->childNodes) {
push(@$val, $fmt->parseNode($_));
}
}
elsif ($nodname =~ /^\#/) {
;##-- special node, e.g. #cdata-section, #comment, etc.: skip
}
else {
$fmt->logwarn("cannot handle node with name=$nodname - skipping");
}
return $val;
}
##--------------------------------------------------------------
## Methods: Input: Generic API
( run in 0.502 second using v1.01-cache-2.11-cpan-454fe037f31 )