XML::DOM::Lite::XPath - XPath support for XML::DOM::Lite
# XPath use XML::DOM::Lite qw(XPath); $result = XPath->evaluate('/path/to/*[@attr="value"]', $contextNode);
This XPath library is fairly complete - there are still a few functions outstanding which need to be implemented, but it's already very usable and is being used by XML::DOM::Lite::XSLT
Google - for implementing the XPath and XSLT JavaScript libraries which I shamelessly stole
Copyright (C) 2005 Richard Hundt <richard NO SPAM AT protea-systems.com>
This library is free software and may be used under the same terms as Perl itself.
To install XML::DOM::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::DOM::Lite
CPAN shell
perl -MCPAN -e shell install XML::DOM::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.