my $xpath = q!//Party[@id=//Relation[child::RelationRoleCode[@tc='37'] +]/@RelatedObjectID]/Producer/CarrierAppointment/CompanyProducerID!; my @nodes = $root->findnodes($xpath); for (@nodes){ print $_->text; }
OK, that seems to work... I think that was a big piece of the puzzle I was missing. I had not seen the Twig/Xpath module come up anywhere when I was googling.
Thank you!
In reply to Re^6: Xpath value query
by SDwerner
in thread Xpath value query
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |