Hi all
Is there a way to append a DOM to another DOM?
Nokogiri::HTML("<p>Test</p>").join(Nokogiri::HTML("<p>Test2</p>"))
Thanks
Josh
···
--
Posted via http://www.ruby-forum.com/.
Hi all
Is there a way to append a DOM to another DOM?
Nokogiri::HTML("<p>Test</p>").join(Nokogiri::HTML("<p>Test2</p>"))
Thanks
Josh
--
Posted via http://www.ruby-forum.com/.
Take a look at HTML document fragments. Sorry, I have not the doc at
hand right now.
Serabe
2009/10/13 Joshua Muheim <forum@josh.ch>:
Hi all
Is there a way to append a DOM to another DOM?
Nokogiri::HTML("<p>Test</p>").join(Nokogiri::HTML("<p>Test2</p>"))
Yes, but it depends on the semantics you're looking for. Can you send an email to the nokogiri list and include a brief description of the problem you're trying to solve along with the issues you're encountering?
I would appreciate it! ![]()
The list can be found here:
http://groups.google.com/group/nokogiri-talk
On Oct 13, 2009, at 1:16 PM, Joshua Muheim wrote:
Hi all
Is there a way to append a DOM to another DOM?
Nokogiri::HTML("<p>Test</p>").join(Nokogiri::HTML("<p>Test2</p>"))
---
Aaron Patterson
http://tenderlovemaking.com