# Handling Source Documents

This section discusses the various options in Saxon for handling source documents that form the input to a query or stylesheet.

See the topics below for further information:

- Source Documents on the Command Line

- Collections

- Building a Source Document from an application

- Preloading shared reference documents

- Writing input filters

- XInclude processing

- Saxon and XML 1.1

- JAXP Source Types

- Third-party Object Models: DOM, JDOM, XOM, and DOM4J

- Choosing a Tree Model

- The PTree File Format

- Validation of Source Documents

- Whitespace Stripping in Source Documents

- Streaming of Large Documents

- Document Projection

Next