Module

Hpricot

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.

++

Modules
Builder
Container
Doc
Elem
Leaf
Node
Traverse
XChar XML Character converter, from Sam Ruby: (see intertwingly.net/stories/2005/09/28/xchar.rb).
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
Constants
AttrCore Common sets of attributes.
AttrEvents
AttrFocus
AttrHAlign
AttrI18n
AttrVAlign
Attrs
FORM_TAGS
SELF_CLOSING_TAGS
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.