tree.rb

Path: lib/html/tree.rb
Last Update: Wed Apr 17 11:49:19 +0000 2013

This is an HTML parser that builds an element tree for further processing. Attributes and data are also stored.

Typical usage is:

  parser = HTMLTree::Parser.new(false, false)
  parser.parse_file_named('whatever.html')
  # then you have the tree built..
  parser.tree.dump
Copyright:Copyright (C) 2003, Johannes Brodwall <johannes@brodwall.com>, Copyright (C) 2002, Ned Konz <ned@bike-nomad.com>
License:Ruby‘s
CVS ID:$Id: tree.rb,v 1.2 2004/09/24 23:28:55 jhannes Exp $

Required files

html/tags   html/stparser   html/element  

[Validate]