UNIX ON-LINE Man Pages - Die Onlinehilfe

Die Syntax von Unixbefehlen wird in den entsprechenden Manpages dokumentiert. Hier können Sie diese Onlinehilfe für viele Standardbefehle abrufen.

Suchoptionen:
Seiten auflisten, welche beginnen mit:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   ANDERE   ALLE
XPath::PerlSAX(3)     User Contributed Perl Documentation    XPath::PerlSAX(3)

NAME
       XML::XPath::PerlSAX - A PerlSAX event generator for my wierd 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
               }

DESCRIPTION
       This module generates PerlSAX events to pass to a PerlSAX handler such
       as XML::DOM::PerlSAX. It operates specifically on my wierd tree format.

       Unfortunately SAX doesn't seem to cope with namespaces, so these are
       lost completely. I believe SAX2 is doing namespaces.

Other
       The 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.

       This software may only be distributed as part of the XML::XPath
       package.

perl v5.12.1                      2000-02-28                 XPath::PerlSAX(3)
 

Scannen Sie den Barcode um die Webseite zu öffnen


Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=XML%3A%3AXPath%3A%3APerlSAX
Gedruckt am: 12.12.2017 11:06 GMT+0100 (2017-12-12T11:06:55+01:00)