XML::XPath::PerlSAX - Online Linux Manual Page

Section : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation

NAMEXML::XPath::PerlSAX − A PerlSAX event generator for my weird node structure

SYNOPSIS​ use XML::XPath; ​ use XML::XPath::PerlSAX; ​ use XML::DOM::PerlSAX; ​ ​ my $xp = XML::XPath−>new(filename => 'test.xhtml'); ​ my $paras = $xp−>find('/html/body/p'); ​ ​ my $handler = XML::DOM::PerlSAX−>new(); ​ my $generator = XML::XPath::PerlSAX−>new( Handler => $handler ); ​ ​ foreach my $node ($paras−>get_nodelist) { ​ my $domtree = $generator−>parse($node); ​ # do something with $domtree ​ }

DESCRIPTIONThis module generates PerlSAX events to pass to a PerlSAX handler such as XML::DOM::PerlSAX. It operates specifically on my weird tree format. Unfortunately SAX doesn't seem to cope with namespaces, so these are lost completely. I believe SAX2 is doing namespaces.

OtherThe XML::DOM::PerlSAX handler I tried was completely broken (didn't even compile before I patched it a bit), so I don't know how correct this is or how far it will work.

LICENSE AND COPYRIGHTThis module is copyright 2000 AxKit.com Ltd. This is free software, and as such comes with NO WARRANTY. No dates are used in this module. You may distribute this module under the terms of either the Gnu GPL, or the Artistic License (the same terms as Perl itself).
0
Johanes Gumabo
Data Size   :   4,428 byte
man-XML::XPath::PerlSAX.3pmBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   26 / 2,271,152
Visitor ID   :     :  
Visitor IP   :   216.73.216.210   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
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 - 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


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 johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

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::XPath::PerlSAX.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|160|XML::XPath::PerlSAX.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|254|XML::XPath::PerlSAX.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|160|XML::XPath::PerlSAX.3pm|43|'br══─}─══ |'br══─}─══ )