From: Tobias Reif Date: 2001-11-17T00:39:54+09:00 Subject: [ruby-talk:25443] Re: [ANN] NQXML v1.0.1 (DOCTYPE output fix) 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/