Message::DOM::NodeList
NodeList
interfaceThe Message::DOM::NodeList
implements the DOM NodeList
interface.
The NodeList
object has following methods:
$length = scalar @$nodelist
$length = $nodelist->length
$item = $nodelist->[$index]
$item = $nodelist->item ($index)
$arrayref = $nodelist->to_a
Return an array reference containing the items in the list. [DOMPERL]
($item0,
$item1,
...) = $nodelist->to_list
Return the items in the list as a Perl list. [DOMPERL]
$boolean = $nodelist->manakai_read_only
Return whether the list is read-only or not. [MANAKAI]
@$nodelist = ()
Remove all items from the list. This operation is not supported for read-only lists. [DOMPERL]
DOM <http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-nodelist>
.
manakai DOM Extensions <https://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai%20DOM%20Extensions>
.
manakai's DOM Perl Binding <https://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai's%20DOM%20Perl%20Binding>
.
Wakaba <wakaba@suikawiki.org>.
Copyright 2007-2012 Wakaba <wakaba@suikawiki.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.