class Nokogiri::XML::SAX::Document

def cdata_block string

+string+ contains the cdata content
Called when cdata blocks are found
##
def cdata_block string
end

def characters string

+string+ contains the character data
Characters read between a tag
##
def characters string
end

def comment string

+string+ contains the comment data
Called when comments are encountered
##
def comment string
end

def end_document

Called when document ends parsing
##
def end_document
end

def end_element name

+name+ is the tag name
Called at the end of an element
##
def end_element name
end

def error string

+string+ contains the error
Called on document errors
##
def error string
end

def start_document

Called when document starts parsing
##
def start_document
end

def start_element name, attrs = []

+name+ is the name of the tag with +attrs+ as attributes
Called at the beginning of an element
##
def start_element name, attrs = []
end

def warning string

+string+ contains the warning
Called on document warnings
##
def warning string
end