The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

XML::LibXML::NodeList::Iterator (3)
  • >> XML::LibXML::NodeList::Iterator (3) ( Разные man: Библиотечные вызовы )
  •  

    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->next ) {
          # 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, <christian.glahn@uibk.ac.at>  

    COPYRIGHT

    (c) 2002, 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.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHOR
    COPYRIGHT


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру