<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:include href="header.xsl" /> <xsl:include href="senderReceiver.xsl" /> <xsl:include href="mailReason.xsl" /> <xsl:include href="footer.xsl" /> <xsl:include href="style.xsl" /> <xsl:include href="recordTitle.xsl" /> <xsl:template match="/"> <html> <head> <xsl:call-template name="generalStyle" /> </head> <body> <xsl:choose> <xsl:when test="notification_data/request/request_type='RESOURCE_SHARING_PHYSICAL_SHIPMENT'" > <tr> <td><h1><b>Resource Sharing Request</b></h1></td> </tr> </xsl:when> <xsl:otherwise> <tr> <h2><b>@@requested_for@@ :<xsl:value-of select="notification_data/user_for_printing/name"/></b></h2> </tr> </xsl:otherwise> </xsl:choose> <xsl:call-template name="head" /> <!-- header.xsl --> <div class="messageArea"> <div class="messageBody"> <table cellspacing="0" cellpadding="5" border="0"> <tr> <td><b>@@request_id@@: </b><img src="cid:request_id_barcode.png" alt="Request Barcode"/></td> </tr> <xsl:if test="notification_data/external_id != ''" > <tr> <td><b>@@external_id@@: </b><xsl:value-of select="notification_data/external_id"/></td> </tr> </xsl:if> <xsl:if test="notification_data/user_for_printing/name"> <tr> <td> <b>@@requested_for@@: </b> <xsl:value-of select="notification_data/user_for_printing/name"/></td> </tr> </xsl:if> <tr> <td><xsl:call-template name="recordTitle" /> </td> </tr> <xsl:if test="notification_data/phys_item_display/isbn != ''"> <tr> <td>@@isbn@@: <xsl:value-of select="notification_data/phys_item_display/isbn"/></td> </tr> </xsl:if> <xsl:if test="notification_data/phys_item_display/issn != ''"> <tr> <td>@@issn@@: <xsl:value-of select="notification_data/phys_item_display/issn"/></td> </tr> </xsl:if> <xsl:if test="notification_data/phys_item_display/barcode != ''"> <tr> <td>@@item_barcode@@: <xsl:value-of select="notification_data/phys_item_display/available_items/available_item/barcode"/></td> </tr> </xsl:if> <xsl:if test="notification_data/phys_item_display/imprint != ''"> <tr> <td>@@imprint@@: <xsl:value-of select="notification_data/phys_item_display/imprint"/></td> </tr> </xsl:if> <b></b> <tr> <td><h2><b>@@location@@: </b><xsl:value-of select="notification_data/phys_item_display/location_name"/></h2></td> <xsl:if test="notification_data/phys_item_display/call_number != ''"> <td><h2><b>@@call_number@@: </b><xsl:value-of select="notification_data/phys_item_display/call_number"/></h2></td> </xsl:if> <xsl:if test="notification_data/phys_item_display/accession_number != ''"> <td><h2><b>@@accession_number@@: </b><xsl:value-of select="notification_data/phys_item_display/accession_number"/></h2></td> </xsl:if> </tr> <xsl:if test="notification_data/phys_item_display/shelving_location/string" > <xsl:if test="notification_data/request/selected_inventory_type='ITEM'" > <tr> <td><b>@@shelving_location_for_item@@: </b> <xsl:for-each select="notification_data/phys_item_display/shelving_location/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> <xsl:if test="notification_data/request/selected_inventory_type='HOLDING'" > <tr> <td><b>@@shelving_locations_for_holding@@: </b> <xsl:for-each select="notification_data/phys_item_display/shelving_location/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> <xsl:if test="notification_data/request/selected_inventory_type='VIRTUAL_HOLDING'" > <tr> <td><b>@@shelving_locations_for_holding@@: </b> <xsl:for-each select="notification_data/phys_item_display/shelving_location/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> </xsl:if> <xsl:if test="notification_data/phys_item_display/display_alt_call_numbers/string" > <xsl:if test="notification_data/request/selected_inventory_type='ITEM'" > <tr> <td><b>@@alt_call_number@@: </b> <xsl:for-each select="notification_data/phys_item_display/display_alt_call_numbers/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> <xsl:if test="notification_data/request/selected_inventory_type='HOLDING'" > <tr> <td><b>@@alt_call_number@@: </b> <xsl:for-each select="notification_data/phys_item_display/display_alt_call_numbers/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> <xsl:if test="notification_data/request/selected_inventory_type='VIRTUAL_HOLDING'" > <tr> <td><b>@@alt_call_number@@: </b> <xsl:for-each select="notification_data/phys_item_display/display_alt_call_numbers/string"> <xsl:value-of select="."/>   </xsl:for-each> </td> </tr> </xsl:if> </xsl:if> <b></b> <tr> <td><b>@@request_type@@: </b><xsl:value-of select="notification_data/request_type"/></td> </tr> </table> </div> </div> <xsl:call-template name="lastFooter" /> <!-- footer.xsl --> <xsl:choose> <xsl:when test="notification_data/destination='Office Delivery'" > <table cellspacing="0" cellpadding="0" border="1"> <tr><td style="font-size:9px;width:350px">Return To:<br></br> <center>RETURN ADDRESS 1</center> <center>RETURN ADDRESS 2</center> <center>RETURN ADDRESS 3</center> <center>RETURN ADDRESS 4</center> <br></br> </td></tr> <tr><td style="font-size:18px;width:350px"><font size="1">Deliver To:</font><br></br> <xsl:for-each select="notification_data/user_for_printing"> <center><xsl:value-of select="first_name"/> <xsl:value-of select="last_name"/></center> <center><xsl:value-of select="address1"/></center> <center><xsl:value-of select="address2"/></center> <center><xsl:value-of select="address3"/></center> <center><xsl:value-of select="city"/>, <xsl:value-of select="state"/> <xsl:value-of select="postal_code"/></center> </xsl:for-each> </td></tr> </table> </xsl:when> <xsl:otherwise> <tr></tr> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="notification_data/destination='Home Delivery'" > <table cellspacing="0" cellpadding="0" border="1"> <tr><td style="font-size:9px;width:350px">Return To:<br></br> <center>RETURN ADDRESS 1</center> <center>RETURN ADDRESS 2</center> <center>RETURN ADDRESS 3</center> <center>RETURN ADDRESS 4</center> <br></br> <tr><td style="font-size:18px;width:350px"><font size="1">Deliver To:</font><br></br> <xsl:for-each select="notification_data/user_for_printing"> <center><xsl:value-of select="first_name"/> <xsl:value-of select="last_name"/></center> <center><xsl:value-of select="address1"/></center> <center><xsl:value-of select="address2"/></center> <center><xsl:value-of select="address3"/></center> <center><xsl:value-of select="city"/>, <xsl:value-of select="state"/> <xsl:value-of select="postal_code"/></center> </xsl:for-each> </td></tr> </table> </xsl:when> <xsl:otherwise> <tr></tr> </xsl:otherwise> </xsl:choose> </body> </html> </xsl:template> </xsl:stylesheet>