assuming a XML document as above with alot of data tags containing tuple tags. I want to find all tuples that have a name value equals to "Reg" and extract the tags value (eg. EU). How do I achieve that in Perl.