Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2800
| From | Ted Flethuseo <flethuseo@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | removing nodes from Nokogiri::XML::NodeSet |
| Date | 2011-04-13 19:06 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <124883eae0d1e5dcae64297d4872ee9d@ruby-forum.com> (permalink) |
Hi everyone, I am having trouble removing a node from a Nokogiri::XML::NodeSet, not sure what I should use to remove a specific node at a given position. I have tried the following but it doesn't seem to work: puts nodes.length nodes[0].remove puts nodes.length Ted -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
removing nodes from Nokogiri::XML::NodeSet Ted Flethuseo <flethuseo@gmail.com> - 2011-04-13 19:06 -0500
Re: removing nodes from Nokogiri::XML::NodeSet Mike Dalessio <mike.dalessio@gmail.com> - 2011-04-13 22:02 -0500
Re: removing nodes from Nokogiri::XML::NodeSet Ted Flethuseo <flethuseo@gmail.com> - 2011-04-14 08:31 -0500
Re: removing nodes from Nokogiri::XML::NodeSet Robert Klemme <shortcutter@googlemail.com> - 2011-04-14 09:40 -0500
Re: removing nodes from Nokogiri::XML::NodeSet 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-14 12:34 -0500
csiph-web