Thank you ËÎer,
Thank you Dan,
that did the trick. However, I couldn't find anything about
Hpricot::Elem in the official rdoc:
http://code.whytheluckystiff.net/doc/hpricot/
After you told me about it, I could find the helpful "name" method
with
puts doc.search("[1]").first.methods.sort
¥èmer and Dan, how did you find out about the methods of Hpricot::Elem
and "name", in particular?
Kind regards,
Rainer