Help on how append html tag

Dear all,

@doc = Hpricot(open("#{RAILS_ROOT}" +
“/public/server_exe/#{list.file_path}”))

i need to add element to my
@doc hpricot instance…

Please help me… how can i add the above img src element to the @doc
hpricot instance…

Thank you

Newb N. wrote:

Dear all,

@doc = Hpricot(open("#{RAILS_ROOT}" +
“/public/server_exe/#{list.file_path}”))

i need to add element to my
@doc hpricot instance…

Please help me… how can i add the above img src element to the @doc
hpricot instance…

Thank you

Is it not possible to do so?

On 15 February 2010 10:55, Newb N. [email protected] wrote:

Dear all,

@doc = Hpricot(open(“#{RAILS_ROOT}” +
“/public/server_exe/#{list.file_path}”))

i need to add element to my
@doc hpricot instance…

Please help me… how can i add the above img src element to the @doc
hpricot instance…

What have you tried so far to achieve this?

Have you looked at the docs for hpricot and used google?

Colin

Any sample code or links since i can try with taht

On 15 February 2010 12:18, Newb N. [email protected] wrote:

Any sample code or links since i can try with taht

You can find documentation at http://wiki.github.com/hpricot/hpricot/
with links to examples at
http://wiki.github.com/hpricot/hpricot/an-hpricot-showcase. I would
suggest understanding the three pages linked to under Fundamentals
there. The last has an example of adding a tag.

Colin

Colin L. wrote:

On 15 February 2010 10:55, Newb N. [email protected] wrote:

Dear all,

@doc = Hpricot(open(“#{RAILS_ROOT}” +
“/public/server_exe/#{list.file_path}”))

i need to add element to my
@doc hpricot instance…

Please help me… how can i add the above img src element to the @doc
hpricot instance…

What have you tried so far to achieve this?

Have you looked at the docs for hpricot and used google?

Colin

Yes, sorry although i could not understand .
please provide me some help