™.. XML::PatAct::MatchName - Online Linux Manual PageSection : 3
Updated : 2003-10-21
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMEXML::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, ​ ... ];

DESCRIPTIONXML::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 seperated by `\*(C`/\*(C'\fR' 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 `\*(C`foo\*(C'\fR', `\*(C`bar/foo\*(C'\fR' will match if `\f(CW\*(C`foo\*(C'\fR' is in an element `\f(CW\*(C`bar\*(C'\fR', otherwise just the pattern with `\*(C`foo\*(C'\fR' will match.

AUTHORKen MacLeod, ken@bitsko.slc.ut.us

SEE ALSOperl(1) ``Using PatAct Modules'' and ``Creating PatAct Modules'' in libxml-perl.
0
Johanes Gumabo
Data Size   :   4,711 byte
man-XML::PatAct::MatchName.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 200,599
Visitor ID   :     :  
Visitor IP   :   18.191.67.90   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|XML::PatAct::MatchName.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|XML::PatAct::MatchName.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|XML::PatAct::MatchName.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|XML::PatAct::MatchName.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|XML::PatAct::MatchName.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|XML::PatAct::MatchName.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|XML::PatAct::MatchName.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|XML::PatAct::MatchName.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|XML::PatAct::MatchName.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|XML::PatAct::MatchName.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|XML::PatAct::MatchName.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|XML::PatAct::MatchName.3pm|151|\*(C`/\*(C'\fR' characters, then all of the parent element names must match |by `\f(CW\*(C`/\*(C'\fR' characters, then all of the parent element names must match )         (rof_escape_sequence|91|XML::PatAct::MatchName.3pm|156|\*(C`foo\*(C'\fR', |synopsis above as an example, if you have an element `\f(CW\*(C`foo\*(C'\fR', )         (rof_escape_sequence|91|XML::PatAct::MatchName.3pm|157|\*(C`bar/foo\*(C'\fR' will match if `\f(CW\*(C`foo\*(C'\fR' is in an element `\f(CW\*(C`bar\*(C'\fR', |`\f(CW\*(C`bar/foo\*(C'\fR' will match if `\f(CW\*(C`foo\*(C'\fR' is in an element `\f(CW\*(C`bar\*(C'\fR', )         (rof_escape_sequence|91|XML::PatAct::MatchName.3pm|158|\*(C`foo\*(C'\fR' will match. |otherwise just the pattern with `\f(CW\*(C`foo\*(C'\fR' will match. )