Sha256: fb6dd8c09603905ed5aaaf0f2090fae58d00e75bf9847506136f03678cdb493f
Contents?: true
Size: 1.25 KB
Versions: 33
Compression:
Stored size: 1.25 KB
Contents
module Nokogiri module XML module SAX class Document ### # Called when document starts parsing def start_document end ### # Called when document ends parsing def end_document end ### # Called at the beginning of an element # +name+ is the name of the tag with +attrs+ as attributes def start_element name, attrs = [] end ### # Called at the end of an element # +name+ is the tag name def end_element name end ### # Characters read between a tag # +string+ contains the character data def characters string end ### # Called when comments are encountered # +string+ contains the comment data def comment string end ### # Called on document warnings # +string+ contains the warning def warning string end ### # Called on document errors # +string+ contains the error def error string end ### # Called when cdata blocks are found # +string+ contains the cdata content def cdata_block string end end end end end
Version data entries
33 entries across 33 versions & 2 rubygems