Beyond parsing

This section describes various operations that can be performed while parsing a document. These apply whether the result of parsing is streamed (see Streaming), or whether it is directed to a tree builder (see Tree models).

Saxon processes parsed input through a pipeline of processes that is highly configurable. The design concept follows the SAX push model, but Saxon has its own internal interface for event processing called the Receiver API. A similar pipeline, also based on the Receiver API, is used for serializing result documents. This section describes some of the options that can be configured on the input pipeline.