XML::PatAct::MatchName(3pm) User Contributed Perl Documentation XML::PatAct::MatchName(3pm)
NAME
XML::PatAct::MatchName - A pattern module for matching element names
SYNOPSIS
use XML::PatAct::MatchName;
my $matcher = XML::PatAct::MatchName->new();
my $patterns = [ 'foo' => ACTION,
'bar/foo' => ACTION,
... ];
DESCRIPTION
XML::PatAct::MatchName is a pattern module for use with PatAct drivers for applying
pattern-action lists to XML parses or trees. XML::PatAct::MatchName is a simple pattern
module that uses just element names to match on. If multiple names are supplied separated
by `"/"' characters, then all of the parent element names must match as well.
The order of patterns in the list is not significant. XML::PatAct::MatchName will use the
most specific match. Using the synopsis above as an example, if you have an element
`"foo"', `"bar/foo"' will match if `"foo"' is in an element `"bar"', otherwise just the
pattern with `"foo"' will match.
AUTHOR
Ken MacLeod, ken AT bitsko.us
SEE ALSO
perl(1)
``Using PatAct Modules'' and ``Creating PatAct Modules'' in libxml-perl.
perl v5.32.0 2020-12-28 XML::PatAct::MatchName(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-29 20:10 @216.73.216.105 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)