XML::PatAct::MatchName − A pattern module for matching element names
my $matcher = XML::PatAct::MatchName−>new();
my $patterns = [ 'foo' => ACTION,
'bar/foo' => ACTION,
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.
Ken MacLeod, email@example.com
‘‘Using PatAct Modules’’ and ‘‘Creating PatAct Modules’’ in libxml-perl.
More Linux Commands
gluOrtho2D(3gl) - define a 2D orthographic projection matrix
gluOrtho2D sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with $ near ~=~ -1 $ and $ far ~=~ 1 $. SEE ALSO glOrtho
glGetIntegerv(3gl) - return the value or values of a selecte
These four commands return values for simple state variables in GL. pname is a symbolic constant indicating the state variable to be returned, and params is a p
git-repack(1) - Pack unpacked objects in a repository.......
This command is used to combine all objects that do not currently reside in a pack, into a pack. It can also be used to re-organize existing packs into a single
ospfd(8) - an OSPFv2 routing engine for use with Quagga rout
ospfd is a routing component that works with the Quagga routing engine. OPTIONS Options available for the ospfd command: -d, --daemon Runs in daemon mode, forki
dlsym(3) - programming interface to dynamic linking loader
The four functions dlopen(), dlsym(), dlclose(), dlerror() implement the interface to the dynamic linking loader. dlerror() The function dlerror() returns a hum
winsdelln(3ncurses) - delete and insert lines in a curses wi
The deleteln and wdeleteln routines delete the line under the cursor in the window; all lines below the current line are moved up one line. The bottom line of t
timer_settime(2) - arm/disarm and fetch state of POSIX per-p
timer_settime() arms or disarms the timer identified by timerid. The new_value argument is pointer to an itimerspec structure that specifies the new initial val
tc-prio(8) - Priority qdisc (Admin - Linux man page)........
The PRIO qdisc is a simple classful queueing discipline that contains an arbitrary number of classes of differing priority. The classes are dequeued in numerica
hcreate(3) - hash table management - Linux manual page......
The three functions hcreate(), hsearch(), and hdestroy() allow the caller to create and manage a hash search table containing entries consisting of a key (a str
exit(3) - cause normal process termination - Linux man page
The exit() function causes normal process termination and the value of status & 0377 is returned to the parent (see wait(2)). All functions registered with atex
clamav-milter.conf(5) - Configuration file for clamav-milter
clamav-milter.conf contains the configuration options for clamav-milter(8). FILE FORMAT The file consists of comments and options with arguments. Each line whic
ODBM_File(3pm) - Tied access to odbm files - Linux man page
ODBM_File establishes a connection between a Perl hash variable and a file in ODBM_File format;. You can manipulate the data in the file just as if it were in a