Re: Re: xpath problem with XML::XPath and LibXML

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <20090622084749.GF2812@wladimir>
[email protected] 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
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.