[Archivesspace_Users_Group] Redundant date expression issue

Majewski, Steven Dennis (sdm7g) sdm7g at eservices.virginia.edu
Thu Feb 9 15:27:55 EST 2017


Try editing archivesspace/stylesheets/as-ead-pdf.xsl

It looks like this template at the end is appending comma “,” and unitdate to the unit title in the first block, and then calling the unitdate template a second time in the next block.

If you edit one of those out, it should produce what you want.  — Steve.


    <!-- Unittitles and all other clevel elements -->
    <xsl:template match="ead:did" mode="dsc">
        <fo:block margin-bottom="0">
            <xsl:apply-templates select="ead:unittitle"/>
            <xsl:if test="(string-length(ead:unittitle[1]) > 1) and (string-length(ead:unitdate[1]) > 1)">, </xsl:if>
            <xsl:apply-templates select="ead:unitdate" mode="did"/>
        </fo:block>
        <fo:block margin-bottom="4pt" margin-top="0">
            <xsl:apply-templates select="ead:repository" mode="dsc"/>
            <xsl:apply-templates select="ead:origination" mode="dsc"/>
            <xsl:apply-templates select="ead:unitdate" mode="dsc"/>
            <xsl:apply-templates select="ead:physdesc" mode="dsc"/>
            <xsl:apply-templates select="ead:physloc" mode="dsc"/>
            <xsl:apply-templates select="ead:dao" mode="dsc"/>
            <xsl:apply-templates select="ead:daogrp" mode="dsc"/>
            <xsl:apply-templates select="ead:langmaterial" mode="dsc"/>
            <xsl:apply-templates select="ead:materialspec" mode="dsc"/>
            <xsl:apply-templates select="ead:abstract" mode="dsc"/>
            <xsl:apply-templates select="ead:note" mode="dsc"/>
        </fo:block>
    </xsl:template>



On Feb 9, 2017, at 2:43 PM, Lewis, Kylie <lewis at towson.edu<mailto:lewis at towson.edu>> wrote:

Good afternoon,

While exporting finished finding aids to PDFs, we noticed that the date expression field is creating a visually redundant copy of the date such as the image attached. Is there a way to remove the redundancy while being able to maintain a date expression? Or is this a case of possibly having to include the date in the title to remove the redundancy? Any tips would be greatly appreciated!


Kylie Lewis · Library Associate
Special Collections and University Archives
Towson University<https://www.towson.edu/> · 8000 York Road · Towson, Maryland,  21252-0001
t. 410-704-3389 · f. 410-704-3760
<image001.png><https://www.facebook.com/towsonuniversity> <image002.png><https://twitter.com/TowsonU> <image003.png><https://www.linkedin.com/edu/school?id=18562> <image004.png><https://www.instagram.com/towsonuniversity/>

<image005.gif>

Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Special Collections and University Archives at 410-704-2093.

<Redundant dates.JPG>_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170209/0921046b/attachment.html>


More information about the Archivesspace_Users_Group mailing list