| Class | Nokogiri::XML::NodeSet |
| In: |
lib/nokogiri/xml/node_set.rb
ext/nokogiri/xml_text.c |
| Parent: | Object |
modifies the C struct out from under the object
| push | -> | << |
| unlink | -> | remove |
| length | -> | size |
| to_a | -> | to_ary |
| | | -> | + |
Create a NodeSet with document defaulting to list
Element reference - returns the node at index, or returns a NodeSet containing nodes starting at start and continuing for length elements, or returns a NodeSet containing nodes specified by range. Negative indices count backward from the end of the node_set (-1 is the last node). Returns nil if the index (or start) are out of range.
Delete node from the Nodeset, if it is a member. Returns the deleted node if found, otherwise returns nil.
Search this document for paths
For more information see Nokogiri::XML::Node#css and Nokogiri::XML::Node#xpath
Element reference - returns the node at index, or returns a NodeSet containing nodes starting at start and continuing for length elements, or returns a NodeSet containing nodes specified by range. Negative indices count backward from the end of the node_set (-1 is the last node). Returns nil if the index (or start) are out of range.
Search this NodeSet for XPath paths
For more information see Nokogiri::XML::Node#xpath