On Saturday, May 3, 2003, 5:48:14 AM, Mike wrote:


> You can use a rescue e.g.

>   @salutation =customer.elements["salutation"].text.chomp rescue ''

> but there may be better ways of doing it.

That doesn't work, I'm afraid.  Not in 1.6 anyway.

The 'rescue' modifier only rescues a particular kind of exception, and
"no method for that object" does not fall in that category.

Gavin