in reply to Re^3: Perl XPath
in thread Perl XPath

The problem with that route is that it fails for elements with zero or more than one text child nodes. That may not be an issue here.