Permission is granted for use, copying, modification, distribution,
and distribution of modified versions of this work as long as the
above copyright notice is included.
++
| Classes |
| BlankSlate |
BlankSlate provides an abstract base class with no predefined methods
(except for __send__ and __id__). BlankSlate is useful as
a base class when writing classes that depend upon method_missing
(e.g. dynamic proxies).
|
| BogusETag |
|
| Comment |
|
| Context |
|
| CssProxy |
Class used by Markaby::Builder to store element options. Methods called
against the CssProxy object are added as element classes or IDs.
|
| Doc |
|
| DocType |
|
| Elem |
|
| Elements |
Once you’ve matched a list of elements, you will often need to handle
them as a group. Or you may want to perform the same action on each of
them. Hpricot::Elements is an extension of Ruby’s array class, with
some methods added for altering elements contained in the array.
|
| EncodingError |
Exception class used for any errors related to deficiencies in the system
when handling the character encodings of a document.
|
| Error |
|
| Name |
|
| ProcIns |
|
| Text |
|
| XHTMLStrict |
All the tags and attributes from XHTML 1.0 Strict
|
| XHTMLTransitional |
Additional tags found in XHTML 1.0 Transitional
|
| XMLDecl |
|
| Public Methods |
| XML |
Hpricot::XML parses input, disregarding all the HTML rules and
returning a document tree.
|
| build |
|
| parse |
Hpricot.parse parses input and return a document tree. represented
by Hpricot::Doc.
|
| uxs |
XML unescape
|
| xchr |
XML escaped version of chr
|
| xs |
XML escaped version of to_s
|
<code/>and<pre/>for code samples.