Bioghist entire ead
From DLXS Documentation
Back to Changing the Bioghist labels
This is an excerpt from the template that matches the entire EAD in a collections specific copy of text.components.xsl showing the code to render the first <head> in the <bioghist>. See $DLXSROOT/web/d/demofa/text.components.xsl for a complete example.
<!-- __________ Filter entire ead __________ --> <xsl:template match="ead" mode="main"> ... ... <!-- ____________________ --> <xsl:if test="archdesc/bioghist"> <xsl:choose> <xsl:when test="archdesc/bioghist/head"> <div class="tophead"> <xsl:value-of select="archdesc/bioghist/head"/> </div> </xsl:when> <xsl:otherwise> <div class="tophead"> <!-- default when there is no head should go here This should be the same as whats in the TOCheads hash--> Biographical/Historical Note </div> </xsl:otherwise> </xsl:choose> <blockquote> <xsl:apply-templates select="archdesc/bioghist"/> </blockquote> <br/> </xsl:if> ... </xsl:template>