Query: xml::patact::matchname
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XML::PatAct::MatchName(3pm) User Contributed Perl Documentation XML::PatAct::MatchName(3pm)NAMEXML::PatAct::MatchName - A pattern module for matching element namesSYNOPSISuse 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 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.AUTHORKen MacLeod, ken@bitsko.slc.ut.usSEE ALSOperl(1) ``Using PatAct Modules'' and ``Creating PatAct Modules'' in libxml-perl. perl v5.10.1 2010-01-28 XML::PatAct::MatchName(3pm)
Related Man Pages |
---|
xml::patact::amsterdam(3) - redhat |
xml::patact::toobjects(3) - suse |
xml::patact::amsterdam(3) - centos |
xml::patact::toobjects(3) - centos |
xml::grove::path(3pm) - debian |