From: Ray Baxter Date: 2009-07-29T03:03:28+09:00 Subject: Re: Regexp Help --000e0cd2e28409c721046fc7e3ea Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Jul 28, 2009 at 10:20 AM, Kai K=F6nig wro= te: > Why not =3D> > > doc.xpath('//a')[0].attributes["href"].to_s > =3D> "http://mysite.com" Actually, doc.content would do what the op requested. Ray --000e0cd2e28409c721046fc7e3ea--