Up: No Title

Package hax

An event protocol for HTML serialization, this package is similar to the SAX protocol defined by cxml for XML serialization.

(Technically, this package should have been spelled SAH, but HAX sounds better.)

Note that Closure HTML is not a streaming parser yet. Documents are always parsed in full before the first HAX event is emitted. In spite of this restriction, the HAX API is useful for HTML serialization and transformation purposes, and for integration with SAX.

About This Package

HAX handlers
The attribute protocol
HAX events

HAX handlers

The superclass of all HAX handlers. ...

A no-op HAX handler. ...

The attribute protocol

An implementation of the HAX attribute protocol. ...

Creates a HAX attribute. ...

Return an attribute's name. ...

Return an attribute's value. ...

Return whether the attribute was contained the parsed document. ...

HAX events

Signals the beginning of an HTML document. ...

Signals the beginning of an HTML element. ...

Signals the end of an HTML element. ...

Signals character data. ...

Escaping bypass. ...

Write a comment node. ...

Signals a comment. ...

Signals the end of an HTML document. ...

Exported Symbol Index

abstract-handler, class
attribute-name, function
attribute-specified-p, function
attribute-value, function
characters, function
comment, function
default-handler, class
end-document, function
end-element, function
find-attribute, function
make-attribute, function
standard-attribute, class
start-document, function
start-element, function
unescaped, function