debian man page for xml::libxml::nodelist::iterator

Query: xml::libxml::nodelist::iterator

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XML::LibXML::NodeList::Iterator(3pm)			User Contributed Perl Documentation		      XML::LibXML::NodeList::Iterator(3pm)

NAME
XML::LibXML::NodeList::Iterator - Iteration Class for XML::LibXML XPath results
SYNOPSIS
use XML::LibXML; use XML::LibXML::NodeList::Iterator; my $doc = XML::LibXML->new->parse_string( $somedata ); my $nodelist = $doc->findnodes( $somexpathquery ); my $iter= XML::LibXML::NodeList::Iterator->new( $nodelist ); # more control on the flow while ( $iter->nextNode ) { # do something } # operate on the entire tree $iter->iterate( &operate );
DESCRIPTION
XML::LibXML::NodeList::Iterator is very similar to XML::LibXML::Iterator, but it does not iterate on the tree structure but on a XML::LibXML::NodeList object. Because XML::LibXML::NodeList is basicly an array the functionality of XML::LibXML::NodeList::Iterator is more restircted to stepwise foreward and backward than XML::LibXML::Iterator is.
SEE ALSO
XML::LibXML::NodeList, XML::NodeFilter, XML::LibXML::Iterator
AUTHOR
Christian Glahn, <phish@cpan.org>
COPYRIGHT
(c) 2002-2007, Christian Glahn. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2007-09-28 XML::LibXML::NodeList::Iterator(3pm)
Related Man Pages
xml::libxml::comment(3) - suse
xml::libxml::nodelist(3) - suse
xml::libxml::comment(3) - osx
xml::libxml::relaxng(3) - osx
xml::libxml::xpathexpression(3pm) - debian
Similar Topics in the Unix Linux Community
XML in unix
Replacing multiple lines in file from another file
XML parsing by UNIX
Problem getting Nth match in sed
How to do find differences between 2 XML Files?