Home   |   Contact Us   |   Site Map

 

 

 

  MatchName.pm Perldoc

 


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 seperated 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@bitsko.slc.ut.us


SEE ALSO

perl(1)

``Using PatAct Modules'' and ``Creating PatAct Modules'' in libxml-perl.



 

Browse our Perldoc FAQs:

Perldoc Home

Perldoc Site Map


Previous Topics

Mac.pm Perldoc

Magick.pm Perldoc

mailto.pm Perldoc

MainContext.pm Perldoc

MakeMaker.pm Perldoc

Manifest.pm Perldoc

Manip.pm Perldoc

Man.pm Perldoc


Next Topics

MD5.pm Perldoc

MediaTypes.pm Perldoc

MemberMixin.pm Perldoc

Message.pm Perldoc

Methods.pm Perldoc

Miniperl.pm Perldoc

Mkbootstrap.pm Perldoc

Mksymlists.pm Perldoc


Website Spotlight

Domain Hosting with the Leader in Innovative and Comprehensive Web Hosting Solutions, Globalnet GNP.

Reliable Domain Hosting

 

Click here to increase your web traffic insantly!


 Copyright © 1999-2005 Globalnet Promotions, LLC.   |   TheServerRoom.org Home    |   Sitemap    |   RSS News Feeds