>>>>> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes:
>> my @bad = $doc->findnodes(q{//address[.//code[starts-with(., "BJPU")]]}); Rob> my @bad = $doc->findnodes(q{//address[starts-with(code, "BJPU")]}); It's clear to me that myy XPath-fu is still weak. Thanks for showing me the better way. At least I figured out that I needed starts-with. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>