in reply to Finding Data based on attribute help!
print $cid->find('Rule')->string_value, "\n" if $code eq 'Requ +ired'; [download]