I'm not sure I'm clear on what it is you want to do.
If you want to link TO the <c0#> FROM some other document on your website, the best answer would be to use the id attribute (<c02 id="fonds021">) and then have the style sheet generate an anchor based on that (<a name="fonds021"></a>) in the output HTML.
If you want to link FROM the <c0#> TO some other document on your website, you could theoretically still use the ID attribute -- use the ID of whatever "this exact level in the institution's website" is, and again have the style sheet generate a link. So the EAD would look like this:
<c02 id="fonds021"><did><unittitle>Correspondence, John Smith</unittitle>...
and in the output HTML the style sheet would generate something like this:
<a href=" www.website.com/myfonds.html?fileIdentifier=fonds021">Correspondence, John Smith</a>
However, the id attribute really wasn't meant to be used this way; the biggest drawback is that IDs must be unique within an <ead> instance, so if by chance you wanted to link to fonds021 from more than one c0# in the same document, you can't do it this way.
Seems to me that a much better solution would be to use the elements intended for linking to external targets, such as extptr or extref. Is there any particular reason why the link information has to be in the c0# element itself, and not in a separate element like extref?
If the material at www.website.com/myfonds.html?fileIdentifier=fonds021 is a digital representation of what's in the <c0#> then the correct element to use would be <dao> as that's intended for linking to digital versions of material in the collection.
Michele
-----Original Message-----
From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of yoann moranville
Sent: Wednesday, May 12, 2010 8:18 AM
To: [log in to unmask]
Subject: Links within EAD
Dear all,
I would have a question regarding the links we can use in EAD.
We "need" to use an element, within each (or at least some) <c>
elements, that provides the link to this exact level in the
institution's website.
To explain better, imagine you are on a file of a fonds
(www.website.com/myfonds.html?fileIdentifier=XX) and seeing its
description. Where would you insert that link in the EAD finding aid
(at this file level)? Some kind of permanent link in order to be used
by other projects or such.
Is there an element in EAD that would offer this possiblity?
And if not, how are you doing it - how would you do it?
Thanks,
Yoann
|