Preemitters

Topics:

Many preemitters are available to assist you in formatting output messages. Some common ones are described in this section.

Detag

Class name: XDDETAG

Removes one set of surrounding tags.

EncryptPGP

Class name: PGPEncrypt

Encrypts an outgoing message in PGP. Accepts either a passphrase or a recipient alias based on a registered keyring.

EntityRepl

Class name: XDEntityRepl

Replaces XML entity sequences with their natural sequences. For example, &lt; is replaced with <.

iWayTrans

Class name: XDXMLGpreEmitter

Runs an iWay transform.

Parameter

Description

encoding

How to encode the result. Choices are document encoding, file system encoding, or listener configuration encoding.

template

Defined name of the transform template

MultiPart

Class name: MultiPart

Assembles multipart documents into a single message for emitting. This preemitter must be the last in the chain. The multipart object carried in the XDDocument is reassembled into a valid multipart document.

XDCharRepl

Class Name: XDCharRepl

Replaces characters in the output with alternate characters; provides carriage return/line feed mapping.

XSLTTrans

Class name: XDXSLTPreEmitter

Runs an XSLT conversion of the output document. This must be the first preemitter in the chain. This preemitter is frequently used to run a standard XML to HTML transformation.

Parameter

Description

template

Name of the defined XSLT template.