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?