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. Where is the template for the salutation_string?

    Where is the template for the salutation_string?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    Where is the template for the salutation_string?

    Answer

    The salutation_string isn't a template, it is a parameter to a template. The complete section of code is:
    <xsl:call-template name="generic-line">
    <xsl:with-param name="line" select='"salutation_string"'/>
    so the template is actually generic-line and the parameter is salutation_string. The template generic-line is in funcs-misc.xsl (in the form directory, e.g. ./xxx01/form_eng)

    In essence it calls choose-salutation-title, which looks like:
    <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>

    So if the z302-salutation-title is populated then it is used, otherwise the generic 'Dear Sir/Madam' is used.

    Category: Circulation

    Subject: Printing


    • Article last edited: 11/3/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Where is the Sizing form to be filled out for a new server?
      • Where Local catalog Templates are saved
    • 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:Q&A
    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