my ($node) = $doc->findnodes(...); # Get first matching node.