--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öîig <kai / kairichardkoenig.com>wrote:

> Why not  =>
>
> doc.xpath('//a')[0].attributes["href"].to_s
>  => "http://mysite.com"


Actually, doc.content would do what the op requested.

Ray

--000e0cd2e28409c721046fc7e3ea--