Cheshire3 Objects: Transformer

Description

A Transformer is the opposite of a Parser. It takes a Record and produces a Document. In many cases this can be handled by an XSLT implementation but other instances might include one that returns a binary file based on the information in the record. Transformers might be used in an indexing chain, but are more likely to be used to render a record in a format or schema requested by the end user.

Implementations
API

FunctionParametersReturnsDescription
__init__config, parent 
process_recordsession, recordDocumentReturn a document after some transformation of the record