Eric,
There is a modified version of the frames stylesheet on our website
(http://www.library.uiuc.edu/ahx/ead/) that includes DAO links. We
inserted the following code toward the end of the processing instruction
for each of the component levels:
<xsl:if test="../dao[@href]">
<xsl:choose>
<xsl:when test="count(../dao[@href])!=1">
<xsl:for-each select="../dao[@href]">
<xsl:if test="position()=1">. <b>View on-line:</b> p. </xsl:if>
<a href="{@href}" target="blank">
<xsl:number value="position()"/>
</a>
<xsl:if test="position()!=last()">, </xsl:if>
<xsl:if test="position()=last()">.</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="../dao[@href]">
<xsl:text> </xsl:text>
<a href="{@href}" target="blank">
<b>View on-line.</b></a>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
If there is only one dao, it inserts a link. If there are successive
daos, in inserts a numbered list of pages. We don't do the latter since
it is not very elegant, but it avoids using a page turner.
In that respect I have been working on modifying the Ebind scripts from
Berkely to integrate better with the cookbook. Those files are not quite
ready for prime time (i.e. widespread distribution), but if you want I'll
send you them to play with. They work, but the documentation is very
thin. If you want to see them in action, look at the website for the
Reston papers on our site.
Chris
Christopher Prom
Assistant University Archivist
University of Illinois Archives
Room 19 Library (MC-522)
1408 W. Gregory Drive
Urbana, IL 61801
web: http://www.library.uiuc.edu/ahx/
e-mail: [log in to unmask]
phone: 217 333 0798
fax: 217 333 2868
On Tue, 19 Dec 2000, ERIC STEDFELD wrote:
> I need to make a few modifications and extensions to one of the
> stylesheets that accompanies Michael Fox's Cookbook, and I am
> wondering if perhaps someone else has already undertaken any of these
> changes. If so, I would appreciate the opportunity to obtain some
> sample code that I can integrate into our local adaptation of the
> stylesheet. If not, I would be glad to share whatever solution I
> develop, if there is interest.
>
> The modifications are these--
>
> --Extend the handling of <chronlist><chronitem> beyond <date> and
> <event>, to include the handling of <eventgrp><event>. This one I've
> completed, was very straightforward.
>
> --Provide an alternate handling of <c02> when it is a subseries with
> no box and folder list, so that column labels for Box and Folder don't
> appear at this level.
>
> --Provide an alternate handling of subcomponents that may not fit the
> box-folder paradigm, such as microfilm.
>
> --Incorporate <dao> links and references within the HTML output
>
>
> Any code implementations, suggestions or direction are welcome.
>
> --Eric Stedfeld
>
>
> =====================
> Eric L. Stedfeld
> Info Tech Specialist
> NYU Libraries
> 212 995-3545
> [log in to unmask]
>
|