XML::XPath::PerlSAX man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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 pack‐
       age.

perl v5.8.8			  2001-06-13		     XPath::PerlSAX(3)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net