Transforms from $Document, $PreDocument and $PostDocument

Section - Java Deployment

Outside of XML these transforms principally exist in order to allow the SML code to perform system functions directly. These are only automatically run in the short lived TMTransformer - but can be explicitly run in a TMTransformExecutor (.e.g. using the methods ' runPostDocumentTransform', 'runPreDocumentTransform' and ' runDocumentTransform'). In the short lived TMTransformer the calls are run as follows:

Note that generic adapters have no access to any type of $Document object - this object is internally created and destroyed entirely within the TMTransformCommon.