XML::XPathA set of modules for parsing and evaluating XPath statements | |
Download |
XML::XPath Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matt Sergeant
- Publisher web site:
- http://search.cpan.org/~msergeant/
XML::XPath Tags
XML::XPath Description
A set of modules for parsing and evaluating XPath statements XML::XPath is a Perl module that aims to comply exactly to the XPath specification at http://www.w3.org/TR/xpath and yet allow extensions to be added in the form of functions. Modules such as XSLT and XPointer may need to do this as they support functionality beyond XPath.SYNOPSIS use XML::XPath; use XML::XPath::XMLParser; my $xp = XML::XPath->new(filename => 'test.xhtml'); my $nodeset = $xp->find('/html/body/p'); # find all paragraphs foreach my $node ($nodeset->get_nodelist) { print "FOUND ", XML::XPath::XMLParser::as_string($node), " "; } Requirements: · Perl
XML::XPath Related Software