in reply to Using Xpath to extract text value of nested list elements

Just use the text() XPath pseudo-function which selects the text child:
my $text = $elem->findvalue('text()');
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Using Xpath to extract text value of nested list elements
by tangent (Parson) on Mar 20, 2014 at 17:19 UTC
    Thanks choroba, that does the job.
Re^2: Using Xpath to extract text value of nested list elements
by cord-bin (Friar) on Mar 21, 2014 at 08:27 UTC
    Where did you find this pseudo-function in the XPath module? I could not find it in the methods the documentation present and in the source neither or I might not have the enlightenment to see. Could you please bring me the light ?
      xpath is xpath, its part of the xpath specification, it is xpath :) there is 7 types of nodes, and one of them is text and text() selects text nodes :) http://www.w3.org/TR/xpath/