How can library address information be added to the hold delete letter?
- Article Type: Q&A
- Product: Aleph
- Product Version: 20
Question
How can library address information be added to the hold delete letter?
Answer
The form ./xxxnn/form_lng/hold-delete-letter.xsl by default already contains sublibrary address information.
Additional Information
The following setup should enable the printout of sublibrary address information.
These are the default definitions
a) form ./form_lng/hold-delete-letter.xsl contains a reference to funcs.xls and the template sublib-address
<xsl:include href="funcs.xsl"/>
Note: funcs.xsl contains the templates
[...]
<xsl:template name="section-01">
<xsl:call-template name="sublib-address"/>
b) ./form_lng/funcs.xsl contains a reference to table funcs-address.xsl
<xsl:include href="funcs-address.xsl"/>
c) ./form_lng/funcs-address.xsl contains the actual definition of the address
<xsl:template name="sublib-address">
<TABLE WIDTH="100%" STYLE="font-size: 9pt; font-family: Arial">
<xsl:call-template name="table-start-row"/><td width="70%"></td><td><xsl:value-of select="//sub-library-address-1-occ1"/></td><xsl:call-template name="table-end-row"/>
[...]
The address information is being taken from
a) ./xxx50/tab/tab_sub_library_address.lng
(lng = language, e.g. 'eng', depending on the language of the patron)
b) if the above table is not present in the tab directory of the ADM library, the system will look for this file in ./alephe/tab
Which address is taken for the form is defined in ./xxx50/tab/form_sub_library_address
Example of ./xxx50/tab/form_sub_library_address
hold-delete-letter-s 2
hold-delete-letter 2
In the example the hold-delete-letter will take address type 2 of the relevant sublibrary of table tab_sub_library_address.lng ( (defined in col. 2)
Example of tab_sub_library_address.eng for sublibrary MEDUC.
MEDUC 2 Education Library
Dep. 2
Aleph-Platz 5
22761 Hamburg
info@exl.de
Category: Printing (500)
- Article last edited: 10/8/2013