Print

Print



Lynn, I appreciate your continued interest in my workshops.  I am working hard to ensure that the content and training experience will be worthwhile.

Warmest regards,

Bill
================================
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]
================================



Lynn Ewbank <[log in to unmask]>
Sent by: Encoded Archival Description List <[log in to unmask]>

02/25/2004 02:18 PM
Please respond to
Encoded Archival Description List <[log in to unmask]>

To
[log in to unmask]
cc
Subject





Can’t wait for your EAD classJ

 

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]
================================