Query: xml::xpath::perlsax
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XPath::PerlSAX(3) User Contributed Perl Documentation XPath::PerlSAX(3)NAMEXML::XPath::PerlSAX - A PerlSAX event generator for my wierd node structureSYNOPSISuse 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 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.16.2 2000-02-28 XPath::PerlSAX(3)
Related Man Pages |
---|
xml::handler::canonxmlwriter(3) - centos |
xml::xpath::node(3) - centos |
xml::xpath::node(3) - suse |
xml::dom::xpath(3pm) - debian |
xml::filter::saxt(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
AIX Links |
Mac OS X: Based on UNIX - Solid As a Rock |
When is a _function_ not a _function_? |
A dash to GOTO or a dash from GOTO, that is the question... |
Syntax error in subtraction in Bash |