Print

Print


I am very interested in finding out what I can about EAD.  I want to
convert our old-not very discriminating-system to one that l allows
researchers finer search capability. 

 

Lois A. Peterson

Head, Archives/Special Collections

Frederick Douglass Library

University of Maryland Eastern Shore

Princess Anne, MD   21853

 

-----Original Message-----
From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf
Of Lynn Ewbank
Sent: Wednesday, February 25, 2004 3:18 PM
To: [log in to unmask]
Subject: 

 

Can't wait for your EAD class:-)

 

Lynn

 

<><><><><><><><><><><><><>

  Lynn Ewbank, CA

  Photo Archivist

  Arkansas History Commission

  One Capitol Mall

  Little Rock, AR 72201

  (501)682-6896

  www.ark-ives.com

<><><><><><><><><><><><><>

-----Original Message-----
From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf
Of Bill Walker/Amigos
Sent: Tuesday, February 24, 2004 10:40 AM
To: [log in to unmask]
Subject: 

 


I am developing a workshop on EAD and am having trouble with a style
sheet issue.   

The EAD code is part of the content of the finding aid my students will
encode. 

I would be grateful for any help the list members can provide. 

The following works: 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
STYLE SHEET: 

<xsl:template match="extref[@show='new']"> 
   <a href="{@href}" target="blank"> 
      <xsl:apply-templates /> 
   </a> 
</xsl:template> 

EAD DOCUMENT: 

<c03 level="item"> 
<did> 
<unittitle><extref linktype="simple" href="MiddleEarth03.pdf"
actuate="onrequest" show="new">Color Map of Middle Earth <unitdate>ca.
III 2941</unitdate></extref></unittitle> 
<container type="Box">2 (Map Case)</container> 
<container type="Folder">3</container> 
<physdesc>1 ms map</physdesc> 
</did> 
</c03> 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

The following does not work: 


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
STYLE SHEET: 

<xsl:template match="dao[@show='new']"> 
   <a href="{@href}" target="blank"> 
      <xsl:apply-templates /> 
   </a> 
</xsl:template> 


EAD DOCUMENT: 

<c03 level="item"> 
<did> 
<unittitle>Color Map of Middle Earth <unitdate>ca. III
2941</unitdate></unittitle> 
<container type="Box">2 (Map Case)</container> 
<container type="Folder">3</container> 
<physdesc>1 ms map</physdesc> 
<dao linktype="simple" href="MiddleEarth03.pdf" actuate="onrequest"
show="new"> 
<daodesc><p>(Digital copy)</p></daodesc></dao> 
</did> 
</c03> 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 

In the style sheet I have also tried: 

<xsl:template match="*[@show='new']"> 
   <a href="{@href}" target="blank"> 
      <xsl:apply-templates /> 
   </a> 
</xsl:template> 

Both the Style Sheet and the EAD document parse.   The rest of the
transformation works fine. 

When I take these two problematic chunks of code out from the style
sheet and from the EAD document and put them by themselves in separate
XSL and XML documents, the transform works. 

Why won't it work in the larger style sheet.   

================================
Bill Walker
Imaging Field Services Officer
Amigos Library Services
14400 Midway Road
Dallas, TX 75244-3509
Phone: 800-843-8482 x2853
Fax 972-991-6061
Email: [log in to unmask]
================================