From: Naresh Ramaswamy Date: 2009-03-11T13:35:38+09:00 Subject: Re: how to get all attributes in an element > --output:-- > x > y Thank you for the solution, it almost worked to me, but when I apply it on my xml document I am getting the output from reverse order, why so? I applied the code for the element "REMOVE_1" and observe the following as the output. -----output------ tel:naresh@span.com InVIte req_line ----------------- Naresh -- Posted via http://www.ruby-forum.com/.