Skip to content

Target nearest access restriction #4

Description

@ctgraham

For OpenURL key ItemInfo2, current mapping instructions of:
<p> within <accessrestrict> within <c> or else within <c01> or else within <archdesc level="collection">
were interpreted as:

ead-to-html/EADtoHTML.xslt

Lines 179 to 180 in 7ea6959

<xsl:variable name="ItemInfo2"
select="(ead:accessrestrict/ead:p|ancestor::*[local-name()='c' and @level='series'][1]/ead:accessrestrict/ead:p|/ead:ead/ead:archdesc[@level='collection']/ead:accessrestrict/ead:p)[1]"/>

Updated request is:

We would prefer the restriction closest to the selected object prioritized. I also think it's best to include the whole text within the restriction note, rather than just the first paragraph.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions