From: listrecv@... Date: 2006-02-25T01:03:32+09:00 Subject: Re: Xpath to attributes Thanks. But I'd like to just extract the attribute value via Xpath. If my Xpath is correct, I could just do '//customer/phone/@type' to get 'home'. Is there any way I can do this in Ruby?