Let's get started
- We talked about SAX handlers.
- NIL is a shortcut. It's considered a SAX handler even though it's not an instance of the ABSTRACT-HANDLER class.
- Anything you send to NIL goes into the big imaginary bit drain, never to be seen again.
- CXML:PARSE parses a document, and sends events to the user-supplied SAX handler:
Let's trace the sax:characters event to see what happens:
CL-USER> (trace sax:characters)
CL-USER> (cxml:parse "<foo>bar</foo>" nil)
0: (SAX:CHARACTERS NIL "bar") 0: returned NIL