Hi all,
I have a stylesheet that works fine when the <sponsor> element is filled in. But now I want to encode some finding aids that have no sponsor. If I try to eliminate the <sponsor> element, the header information becomes centered and looks awful. The only bit of code that references <sponsor> is this:
<!--Suppreses all other elements of eadheader.-->
<xsl:template match="eadheader">
<h2 style="text-align:center">
<a name="{generate-id(titlestmt/titleproper)}">
<xsl:value-of select="filedesc/titlestmt/titleproper"/>
</a>
</h2>
<h5 style="text-align:center">
<xsl:value-of select="filedesc/titlestmt/sponsor"/>
</h5>
<br></br>
</xsl:template>
I want to be able to use sponsor when I need it and eliminate it when I don't. Anyone able to help?
Tamara Gaydos, CA
NHPRC Grant Project Manager and Manuscript Processor
Phillips Library | Peabody Essex Museum
East India Square | Salem, MA 01970