Serialization

A new serialization parameter saxon:supply-source-locator="yes"|"no" is provided. This is intended for use when sending output to a user-written ContentHandler (that is, to a SAXResult). The effect of the option is that information is sent to the Locator supplied to the ContentHandler identifying the position of the context node in the source document. To access this information, the supplied Locator must be cast to its implementation class.