The saxon:output option declaration

Saxon provides an option declaration to set serialization parameters. This takes the form shown in the following example:

declare namespace saxon="http://saxon.sf.net/"; declare option saxon:output "method=html"; declare option saxon:output "saxon:indent-spaces=1";

All the standard serialization parameters described in the W3C Serialization specification are available:

In addition some Saxon-specific serialization parameters are available: see Additional serialization parameters.