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. Empty Sub-Library Address Lines in Forms Leave Empty Space at Form Top

    Empty Sub-Library Address Lines in Forms Leave Empty Space at Form Top

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    If the empty sublibrary address lines are set up to print even when they're empty, the top of your letters may have many extra, empty lines. They can be removed by putting a condition in the sub-library address section that only lets sub-library address lines print if they have content.

    Resolution:
    This example is from plain-funcs-address.xsl. The same or a similar change can be used in funcs-address.xsl's sublib-address template. Replace the entire sublib-address template with the template below, making appropriate local changes, if necessary.

    <xsl:template name="sublib-address">
    <xsl:value-of select="//sub-library-address-1-occ1"/>
    <xsl:call-template name="new-line"/>
    <xsl:if test="sub-library-address-1-occ2!=''">
    <xsl:value-of select="//sub-library-address-1-occ2"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    <xsl:if test="sub-library-address-1-occ3!=''">
    <xsl:value-of select="//sub-library-address-1-occ3"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    <xsl:if test="sub-library-address-1-occ4!=''">
    <xsl:value-of select="//sub-library-address-1-occ4"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    <xsl:if test="sub-library-address-1-occ5!=''">
    <xsl:value-of select="//sub-library-address-1-occ5"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    <xsl:if test="sub-library-address-1-occ6!=''">
    <xsl:value-of select="//sub-library-address-1-occ6"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    <xsl:if test="sub-library-address-1-occ7!=''">
    <xsl:value-of select="//sub-library-address-1-occ7"/>
    <xsl:call-template name="new-line"/>
    </xsl:if>
    </xsl:template>


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Empty record format list when opening Z39.50 record in CAT module
      • Empty tab_z105
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      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