File::Find::Rule::XPath 0.03 review

Download
by rbytes.net on

File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions. SYNOPSIS use File::Find::Rule::XPa

License: Perl Artistic License
File size: 3K
Developer: Grant McLean
0 stars award from rbytes.net

File::Find::Rule::XPath is a Perl module that contains rule to match on XPath expressions.

SYNOPSIS

use File::Find::Rule::XPath;

my @files = File::Find::Rule->file
->name('*.dkb')
->xpath( '//section/title[contains(., "Crustacean")]' )
->in($root);

This module extends File::Find::Rule to provide the ability to locate XML files which match a given XPath expression.

METHODS

xpath( $xpath_expression )

Matches XML files which contain one or more nodes matching the given XPath expression. Files which are not 'well formed' XML are silently skipped.

If no XPath expression is supplied, the value '/' is used. This will match all files which are well formed XML.

Requirements:
Perl

File::Find::Rule::XPath 0.03 search tags