Can you send me the HTML output file? I am having difficulty picturing what
you are getting. Also perhaps your EAD document.
It should be inserting the value of the container type attribute. Is there
something in there? Or maybe my syntax is wrong. I didn't mean to imply
that I had tested it. You see them as upper case but they aren't, the
template is reducing the font by one size which may give the appearance of
small caps while it technically is not, though you could do that in HTML.
Previously the attribute list of container was fixed with the options all in
lower case. With EAD 2002, the values are CDATA and you can insert any
value you like.
Alas. I had hoped that the stylesheets would be ready with the DTD but that
has slipped a week to two and it may be a month or so before they are done.
I could supply you with early previews if you would like to test them out.
Michael
-----Original Message-----
From: Leah Prescott [mailto:[log in to unmask]]
Sent: Wednesday, September 11, 2002 11:25 AM
To: [log in to unmask]
Subject: Re: volumes
Michael,
This certainly got me closer because it didn't put in "box" and "folder" as
column headings for the series of volumes, but it also didn't put in
"volume" nor did it list the volume number, just the volume description.
I also notice in the series that do have boxes and folders, that the column
headers were now in all small caps. I assume that the stylesheet took the
words directly from the attribute, and I assume that this is the way it will
be in the new stylesheets? We will just need to make sure we capitalize
those entries.
A curious thing happened when I first tried to run it - xt balked at the
lack of and </font> tag, so I put one in and it ran fine. The curious part
is that the original also didn't have an end tag and xt had no problem with
that one.
Is there any way that you can estimate how long before the new stylesheets
will be available? If it isn't that long, it may be best for us to wait and
deal with collections with volumes at that time.
And while I have your attention, do you know if the new versions of
everything will be able to accommodate indexes in the EAD document? In my
first EAD document I tried to encode an index but it didn't translate, so we
have been creating separate html indexes and linking to them.
Thanks so much for you time and advice,
Leah
-----Original Message-----
From: Encoded Archival Description List [mailto:[log in to unmask]]On Behalf Of
Fox, Michael
Sent: Wednesday, September 11, 2002 9:37 AM
To: [log in to unmask]
Subject: Re: volumes
New stylesheets for the EAD Cookbook are being written for compatibility
with EAD 2002. The structure of the new stylesheets is quite different
from that of the existing ones in several respects. One of the principal
changes will be to separate out the part of the stylesheet that deals with
the dsc from the base stylesheet that handles the "high-level" elements.
Six different options will be available for the dsc.
One change that is relevant to Leah's question is that in one option, the
column headings to which she refers, will be set by the value of the TYPE
attribute in the container elements rather than being of a fixed content
such as "Box" or "Folder". This will allow the display to change whenever
the container type changes as well as making them more generic as to the
type of the container.
I suppose that it would be possible to replace the fixed display in the
existing stylesheets.
Try replacing ones that look this
<xsl:template name="showbox-c02-boxplusfolder">
<tr>
<td>
<b><font size="-1">
<xsl:text>Box</xsl:text></font></b>
</td>
<td><b><font size="-1">
<xsl:text>Folder</xsl:text>
</font></b></td>
</tr>
<tr>
With this
<xsl:template name="showbox-c02-boxplusfolder">
<tr>
<td>
<b><font size="-1">
<xsl:value-of select="container[1]/@type"/>
</td>
<td><b><font size="-1">
<xsl:value-of select="container[2]/@type"/>
</font></b></td>
</tr>
<tr>
The new stylesheets should be easier to edit and will be considerably more
compact and generic.
Michael
-----Original Message-----
From: Leah Prescott [mailto:[log in to unmask]]
Sent: Tuesday, September 10, 2002 5:03 PM
To: [log in to unmask]
Subject: volumes
I have edited one of the cookbook .xsl stylesheets to meet our needs, but I
am faced with one last change that I have not yet had success with.
We have a number of collections that include series of volumes (such as
logbooks, or account books, etc.) that are not in boxes and so we would like
to have the locator be "volume" instead of "box" and "folder". I tried
copying the section of the stylesheet for box-folder combinations where I
replaced every instance of "box-folder" with "volume" hoping that that might
work. I have an xml document which has a series with box and folder numbers
and then a series of volumes where the container element is coded as
"volume" (which according to the tag library is legal).
Does the template for volumes need to come before the box and folder
templates, or does this not make a difference? If anyone has done this or
something like this successfully, I would be very grateful to not have to
reinvent the wheel, even if it is passing up a valuable learning experience
:)
Thanks,
Leah Prescott
Manuscripts and Archives Librarian
Collections Information Technology Coordinator
MYSTIC SEAPORT
The Museum of America and the Sea
G.W. Blunt White Library
75 Greenmanville Avenue
PO Box 6000
Mystic CT 06355-0990 USA
tel: 860.572.0711 x5263
fax: 860.572.5394
[log in to unmask]
http://www.mysticseaport.org
|