in reply to Loop through multiple elements with same name in XPath
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)
|
|---|