Re: Re: xpath problem with XML::XPath and LibXML
by Michael Ludwig other posts by this author
Jun 22 2009 2:19AM messages near this date
view in the new Beta List Site
Re: xpath problem with XML::XPath and LibXML
|
Re: Re: Re: xpath problem with XML::XPath and LibXML
& XSLT redicaps@[...].com schrieb am 22.06.2009 um 07:10:37 (+0000):
> when we use LibXML findvalue sub
> eg.
> $values = $node->findvalue($xpath);
>
> It will return all the nodes' value as a string. Can it LibXML return
> an array or an array ref?
For greater flexibility, take a look at findnodes(), which returns an
iterator or a list, depending on the context.
See: perldoc XML::LibXML::Node
Michael Ludwig
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
redicaps
Aristotle Pagaltzis
redicaps
Shlomi Fish
Michael Ludwig
redicaps
Grant McLean
Bjoern Hoehrmann
|