Cheshire3 Objects: Transformer |
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.
Function | Parameters | Returns | Description |
---|---|---|---|
__init__ | config, parent | ||
process_record | session, record | Document | Return a document after some transformation of the record |