Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Salutation string in "plain-*" forms

    Salutation string in "plain-*" forms

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    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.

    Resolution:
    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:call-template name="generic-line">
    <xsl:with-param name="line" select="'salutation_string'"/>
    </xsl:call-template>
    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 "&#10;" (without the quotes) for ";".

    (Keywords: e-mail email)

    Additional Information

    plain, salutation string, print


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • s failing after critical patch update ( "libclntsh.so.9.0: wrong ELF class")
      • Same (too short) due date always used for particular item or item status
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 16.02
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved