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
XML::LibXML::NodeList(User Contributed Perl DocumentatXML::LibXML::NodeList(3)

NAME
       XML::LibXML::NodeList - a list of XML document nodes

DESCRIPTION
       An XML::LibXML::NodeList object contains an ordered list of nodes, as
       detailed by the W3C DOM documentation of Node Lists.

SYNOPSIS
         my $results = $dom->findnodes('//somepath');
         foreach my $context ($results->get_nodelist) {
           my $newresults = $context->findnodes('./other/element');
           ...
         }

API
   new()
       You will almost never have to create a new NodeSet object, as it is all
       done for you by XPath.

   get_nodelist()
       Returns a list of nodes, the contents of the node list, as a perl list.

   string_value()
       Returns the string-value of the first node in the list.  See the XPath
       specification for what "string-value" means.

   to_literal()
       Returns the concatenation of all the string-values of all the nodes in
       the list.

   get_node($pos)
       Returns the node at $pos. The node position in XPath is based at 1, not
       0.

   size()
       Returns the number of nodes in the NodeSet.

   pop()
       Equivalent to perl's pop function.

   push(@nodes)
       Equivalent to perl's push function.

   append($nodelist)
       Given a nodelist, appends the list of nodes in $nodelist to the end of
       the current list.

   shift()
       Equivalent to perl's shift function.

   unshift(@nodes)
       Equivalent to perl's unshift function.

   prepend($nodeset)
       Given a nodelist, prepends the list of nodes in $nodelist to the front
       of the current list.

   iterator()
       Will return a new nodelist iterator for the current nodelist. A
       nodelist iterator is usefull if more complex nodelist processing is
       needed.

perl v5.12.1                      2009-09-23          XML::LibXML::NodeList(3)
 

Scannen Sie den Barcode um die Webseite zu öffnen


Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=XML%3A%3ALibXML%3A%3ANodeList
Gedruckt am: 20.09.2017 16:51 GMT+0200 (2017-09-20T16:51:09+02:00)