Next / Previous / Contents / NM Tech homepage

7.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.

zdp_html.xsl
<!--inline.smallcapsseq: Select caps-and-small-caps font-->
<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 class="{local-name(.)}"
  ><xsl:copy-of select="$content"/></span>
</xsl:template>