I wrote:


> -----
> node.children.each do |node|
> 
>       parent_name = node.parent.entity.name
>       self_name   = node.XXXXX
> -----
> 
> What could I write for XXXXX?


What I really want:

How to get the elements' name of the node and its' parent?

Tobi



-- 
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml

go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
http://www.pinkjuice.com/ruby/