API

Class SXML-HANDLER

Class precedence list

Description

A CXML SAX handler which produces SXML documents. The constructor takes a single initarg, :PACKAGE (defaults to *PACKAGE*), which specifies the package to intern symbols into.

An interesting omission in the SXML spec is no support for the XML DOCTYPE declaration. The spec does provide for optional annotations, though, and so I've chosen to use a *DOCTYPE* annotation to hold that information. This may change in the future.

Note that all whitespace is preserved, as required by the XML spec. This is ugly ? yet more proof that S-expressions are preferable to XML.