-----Original Message-----
> From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Mike Ferrando
>
> Michelle,
> Mabye you could send the stylesheet to me or post some code.
Mike -- I've sent you the style sheet directly, thanks.
On the chance it DOES have to do that that omit-meta-tag option in saxon, I also tried editing our style sheet to add saxon:omit-meta-tag="no" in the <xsl:output This gave me the following error "The prefix "saxon" for attribute "saxon:omit-meta-tag" associated with an element type "xsl:output" is not bound." The saxon documentation for version 7.3 says that omit-meta-tag="no" was replaced with include-content-type="yes" so I also tried that, which did not give me an error, but it also didn't fix the problem, the <meta tags are still missing from the output.
Code snippet is really simple, as follows:
<xsl:for-each select="//controlaccess/persname | //controlaccess/corpname">
<xsl:choose>
<xsl:when test="@encodinganalog='600'">
<meta http-equiv="Content-Type" name="dc.subject" content="{.}"/>
</xsl:when>
<xsl:when test="//@encodinganalog='610'">
<meta http-equiv="Content-Type" name="dc.subject" content="{.}"/>
</xsl:when>
<xsl:when test="//@encodinganalog='611'">
<meta http-equiv="Content-Type" name="dc.subject" content="{.}"/>
</xsl:when>
<xsl:when test="//@encodinganalog='700'">
<meta http-equiv="Content-Type" name="dc.contributor" content="{.}"/>
</xsl:when>
<xsl:when test="//@encodinganalog='710'">
<meta http-equiv="Content-Type" name="dc.contributor" content="{.}"/>
</xsl:when>
<xsl:otherwise>
<meta http-equiv="Content-Type" name="dc.contributor" content="{.}"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
Michele
~~~~~~~~~~~~~~~~~~
Michele Combs
Manuscripts Librarian
Special Collections Research Center
Syracuse University Libraries
222 Waverly Ave.
Syracuse, NY 13244
315-443-9758
[log in to unmask]
~~~~~~~~~~~~~~~~~~
|