Next / Previous / Contents / TCC Help System / NM Tech homepage

6.5.2. The inline.smallcapsseq template

The next template is inline.smallcappsseq, which uses a caps-and-small-caps font. The structure of this template is the same as that of the inline.italicsansseq template; only the style attribute of the span element is different.

<xsl:template name="inline.smallcapsseq">
  <xsl:param name="content">
    <xsl:call-template name="anchor"/>
    <xsl:call-template name="simple.xlink">
      <xsl:with-param name="content">
        <xsl:apply-templates/>
      </xsl:with-param>
    </xsl:call-template>
  </xsl:param>
  <span style="font-variant: small-caps"
        class="{local-name(.)}"
  ><xsl:copy-of select="$content"/></span>
</xsl:template>