From: Nat Pryce Date: 2001-10-03T09:42:47+09:00 Subject: [ruby-talk:21967] HTML -> DOM with Gdome/Ruby? This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C14BAC.45CA52B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi. This may be a stupid question, but is it possible to parse an HTML = file into a DOM tree with the Ruby interface to Gdome? I know that = Gdome builds upon libxml, which can parse both HTML and XML, but I = cannot work out how to get Gdome to build a DOM tree from an HTML file. Thanks for any help, Nat. ------=_NextPart_000_0028_01C14BAC.45CA52B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi.  This may be a stupid = question, but is it=20 possible to parse an HTML file into a DOM tree with the Ruby interface = to=20 Gdome?  I know that Gdome builds upon libxml, which can parse both = HTML and=20 XML, but I cannot work out how to get Gdome to build a DOM tree from an = HTML=20 file.
 
Thanks for any help,
       =20             =    =20     Nat.
 
------=_NextPart_000_0028_01C14BAC.45CA52B0--