So this code works to match attribute values from one source to another with exactly the same structure so I haven't shown the xml. I just figured with how flash XML::LibXML is, that there would be a much better way to do it 

```
#get from one data source
for my $movie($review_details1->findnodes('/result_set/results/review')){
    my $id = $movie->findvalue('@movie_id');

    #check if it exists in the other data source
    for my $new_movie($review_details2->findnodes('result_set/results/review')){
        my $new_id = $new_movie->findvalue('@movie_id');
        if ($id eq $new_id){
        print "ID $id matches NEW ID $new_id\n";
        }
    }
}

```

Cheers