B.0 Replacement Data

Replacement data is used with XML documents used as templates to construct e-mail messages, Web pages, and XDS documents. The actual replacement is accomplished by processing the template document with an XSLT style sheet that performs the replacement as part of constructing the output document.

Replacement data is supplied to the Manual Task Service driver through different mechanisms on the Subscriber and Publisher channels.

Subscriber Channel

  • Replacement data is supplied as part of the <mail> element.

  • Part of the supplied replacement data can be URL data. If URL data is supplied, it is processed and completed and replaced by automatic data items (see Section C.0, Automatic Replacement Data Items).

  • If the <mail> element specifies that an association value should be constructed (that is, the <mail> element has a src-dn attribute), an automatic data item named “association” is added to the replacement data.

Publisher Channel

  • Replacement data is supplied in the HTTP URL data and HTTP POST data.

  • Automatic URL replacement data items are added to the replacement data before it is used in template processing.

Replacement data is presented during template processing as an XML document. The replacement data document is passed to the style sheet processing the template as a parameter named replacement-data. If no template is used, the XML document is processed directly by the style sheet.