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. How to include the patron name with the salutation in circulation letters to the Patron

    How to include the patron name with the salutation in circulation letters to the Patron

    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: 20

    Desired Outcome Goal:
    To include the patron name with the salutation in circulation letters to the patron.

    Procedure:
    1. Make a backup copy of funcs-misc.xsl (in the form directory, for example: ./xxx01/form_eng)

    2. Find these 8 lines of code in funcs-misc.xsl and delete them:
    <xsl:template name="choose-salutation-title">
    <xsl:choose>
    <xsl:when test="./z302-salutation-title != ''">
    <xsl:value-of select="./z302-salutation-title"/>
    </xsl:when>
    <xsl:otherwise><br/><br/>Dear Sir/Madam,<br/><br/></xsl:otherwise>
    </xsl:choose>
    </xsl:template>


    3. In their place put the following:

    <xsl:template name="choose-salutation-title">
    <xsl:choose>
    <xsl:when test="./z302-salutation-title != '' and /z302-address-0 != ''">
    <xsl:call-template name="generic-line">
    <xsl:with-param name="line" select='concat("Dear", //z302-salutation-title, " ", //z302-address-0, ",")'/>
    </xsl:call-template>
    </xsl:when>
    <xsl:when test="./z302-salutation-title = '' and /z302-address-0 != ''">
    <xsl:call-template name="generic-line">
    <xsl:with-param name="line" select='concat("Dear", " ", //z302-address-0, ",")'/>
    </xsl:call-template>
    </xsl:when>
    <xsl:when test="/z302-address-0 = ''">
    <xsl:call-template name="generic-line">
    <xsl:with-param name="line" select="'Dear Sir/Madam,'"/>
    </xsl:call-template>
    </xsl:when>
    </xsl:choose>
    </xsl:template>

    4. Save funcs-misc.xsl and run util I/6. (All l of the GUI clients should be closed, so that when circulation is opened, it will automatically download the changed funcs-misc.xsl)

    Additional Information

    One site tried this (Case 00112100) and noted:

    It turns out that funcs-misc.xsl caused all kinds of errors. I went back to funcs.xsl on the hold-request-letter-01.
    Eliminated salutation altogether.
    The letter looks ok.
    Some day we would like to get names and proper salutations set up, but no salutation is better than a bad salutation.

    Category: Circulation

    Subject: Printing


    • Article last edited: 11/1/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to Include ILL Request Staff and Patron Notes in Printout.
      • How to Increase OPAC and GUI Results Displayed and Sorted
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. Circulation
      3. contype:kba
      4. Printing
      5. Prod:Aleph
      6. 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