Use findnodes and loop through the nodes. Something like (untested):
my $category = join " ", map { $_->getNodeText } $xc->findnodes('./post:category[position()>1]/@term', $entry);updated:really use findnodes (thanks ikegami)
In reply to Re: Loop through multiple elements with same name in XPath
by mirod
in thread Loop through multiple elements with same name in XPath
by andrewheiss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |