Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Where is the template for the salutation_string?

    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20


    Where is the template for the salutation_string?


    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:when test="./z302-salutation-title != ''">
    <xsl:value-of select="./z302-salutation-title"/>
    <xsl:otherwise><br/><br/>Dear Sir/Madam,<br/><br/></xsl:otherwise>

    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