- Article Type: General
- Product: Aleph
- Product Version: 16.02
I have created "plain-" version .xsl templates for those notices that are intended to be sent by email.
I have changed the "include href" to point to "plain-funcs.xsl" instead of "funcs.xsl": <xsl:include href="plain-funcs.xsl"/>.
From the documentation, this was the only change necessary to differentiate from the regular HTML-creating .xsl files.
I'd like the to include the plain format data in the body of the email message. When I receive the email, there is a problem with the salutation and signature. Here's an example:
salutation_string;We would like to CANCEL our order for the following item: AND </tr>;;Sincerely, ;Acquisition Department
Why is the "generic-line" function not displaying the text in a hardcoded style with "Dear Sir/Madam" replacing "salutation_string"? As I understand it, the standard text from MailHead.dat is included as the salutation or signature when it's an HTML attachment, but not when it's plain text in the body of the email.
To get the salutation string to print correctly, I put that variable, all by itself, on its own line of the template. Like this:
<xsl:with-param name="line" select="'salutation_string'"/>
The ";" puts a line feed in the HTML version, but this doesn't work in the plain text output.
To get the line feed in the plain text version, substitute " " (without the quotes) for ";".
(Keywords: e-mail email)
plain, salutation string, print
- Article last edited: 10/8/2013