removing the inner elements

i have <see><span> First</span> <span > Second <span> Third </span> </see>

FYI, that sample is bad XML -- second span isn't closed.

i wanna remove first and second span tags how can i achieve it help me

OUTPUT:

<see> <span> Third </span> </see>

I would probably use Nokogiri for this rather than Hpricot, but post
the code you're having problems with.