- or download this
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" [more gorp] >
- or download this
my $xpc = XML::LibXML::XPathContext->new($dom);
...
else {
print "did not find graph node edgedefault value\n";
}
- or download this
my $weightXPATH = ".//gml:data[\@key=\"$weightKey\"]";
if (my $dataWeightNode = @{$xpc->findnodes($weightXPATH,$edgeElement)}
+[0]) {
$weight = $dataWeightNode->textContent();
}