A top-level HTMl document. You give it a body of text, and it will parse
that text into a tree of nodes.
| Public Attributes |
| root |
The root of the parsed document.
|
| Public Methods |
| find |
Search the tree for (and return) the first node that matches the given
conditions. The conditions are interpreted differently for different node
types, see HTML::Text#find and HTML::Tag#find.
|
| find_all |
Search the tree for (and return) all nodes that match the given conditions.
The conditions are interpreted differently for different node types, see
HTML::Text#find and HTML::Tag#find.
|
| new |
Create a new Document from the given text.
|
<code/>and<pre/>for code samples.