Path: | lib/html/tree.rb |
Last Update: | Thu Oct 22 02:37:38 +0000 2009 |
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 $ |