Nokogiri: Is there a way to append DOM to another DOM?

Hi all

Is there a way to append a DOM to another DOM?

Nokogiri::HTML(“

Test

”).join(Nokogiri::HTML(“

Test2

”))

Thanks
Josh

2009/10/13 Joshua M. [email protected]:

Hi all

Is there a way to append a DOM to another DOM?

Nokogiri::HTML(“

Test

”).join(Nokogiri::HTML(“

Test2

”))

Take a look at HTML document fragments. Sorry, I have not the doc at
hand right now.

Serabe

On Oct 13, 2009, at 1:16 PM, Joshua M. wrote:

Hi all

Is there a way to append a DOM to another DOM?

Nokogiri::HTML(“

Test

”).join(Nokogiri::HTML(“

Test2

”))

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! :slight_smile:

The list can be found here:

 http://groups.google.com/group/nokogiri-talk

Aaron P.
http://tenderlovemaking.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs