™.. XML::PatAct::Amsterdam - Online Linux Manual Page
Section : 3
Updated : 2003-10-21
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMEXML::PatAct::Amsterdam − An action module for simplistic style−sheets
SYNOPSIS use XML::PatAct::Amsterdam;
my $patterns = [ PATTERN => { Before => 'before',
After => 'after' },
... ];
my $matcher = XML::PatAct::Amsterdam−>new( I<OPTIONS> );
DESCRIPTIONXML::PatAct::Amsterdam is a PerlSAX handler for applying pattern-action lists to XML parses or trees. XML::PatAct::Amsterdam applies a very simple style sheet to an instance and outputs the result. Amsterdam gets it's name from the Amsterdam SGML Parser (ASP) which inspired this module. CAUTION: Amsterdam is a very simple style module, you will run into it's limitations quickly with even moderately complex XML instances, be aware of and prepared to switch to more complete style modules. New XML::PatAct::Amsterdam instances are creating by calling `new()'. Parameters can be passed as a list of key, value pairs or a hash. A Patterns and Matcher options are required. The following OPTIONS are supported: Patterns The pattern-action list to apply. The list is an anonymous array of pattern, action pairs. Each action in the list contains either or both a Before and an After string to copy to the output before and after processing an XML element. The Before and After strings may contain attribute names enclosed in square brackets (`\*(C`[\*(C'\fR' \fI\s-1NAME\s0\fR `\*(C`]\*(C'\fR'), these are replaced with the value of the attribute with that name. The special NAME `\*(C`_element\*(C'\fR' will be replaced with the element's name. Matcher An instance of the pattern or query matching module. Output An IO::Handle or one of it's subclasses (such as IO::File), if this parameter is not present and the AsString option is not used, the module will write to standard output. AsString Return the generated output as a string from the `\*(C`parse()\*(C'\fR' method of the PerlSAX event generator.
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 : 7,488 byte
man-XML::PatAct::Amsterdam.3pmBuild : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 10 / 1,223,831
Visitor ID : :
Visitor IP : 13.59.219.20 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 37.751000 x -97.822000 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : :
Provider Province : , : ,
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 - 25.03.22
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
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_|254|XML::PatAct::Amsterdam.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|160|XML::PatAct::Amsterdam.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|254|XML::PatAct::Amsterdam.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|160|XML::PatAct::Amsterdam.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|XML::PatAct::Amsterdam.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|XML::PatAct::Amsterdam.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|XML::PatAct::Amsterdam.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|160|XML::PatAct::Amsterdam.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|93|XML::PatAct::Amsterdam.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|254|XML::PatAct::Amsterdam.3pm|57|══─}─══|.══─}─══
) (htmlprn|160|XML::PatAct::Amsterdam.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|93|XML::PatAct::Amsterdam.3pm|167|\*(C`[\*(C'\fR' \fI\s-1NAME\s0\fR |contain attribute names enclosed in square brackets (`\f(CW\*(C`[\*(C'\fR' \fI\s-1NAME\s0\fR
) (rof_escape_sequence|93|XML::PatAct::Amsterdam.3pm|168|\*(C`]\*(C'\fR'), these are replaced with the value of the attribute with that |`\f(CW\*(C`]\*(C'\fR'), these are replaced with the value of the attribute with that
) (rof_escape_sequence|93|XML::PatAct::Amsterdam.3pm|169|\*(C`_element\*(C'\fR' will be replaced with the |name. The special \fI\s-1NAME\s0\fR `\f(CW\*(C`_element\*(C'\fR' will be replaced with the
) (rof_escape_sequence|93|XML::PatAct::Amsterdam.3pm|181|\*(C`parse()\*(C'\fR' method |Return the generated output as a string from the `\f(CW\*(C`parse()\*(C'\fR' method
)