7. Stylesheet for the XHTML Text Module

xsl:stylesheet id="stylesheet" exclude-result-prefixes="x2 lit i" version="1.0" xml:lang="en"

abbr
cite
code
dfn
em
kbd
l
quote
samp
span
strong
sub
sup
var
i:mk
i:file

7.1. The abbr element

xsl:template match="x2:abbr" id="abbr"
  xsl:call-template name="copy-xhtml1"

7.2. The cite element

xsl:template match="x2:cite" id="cite"
  xsl:call-template name="copy-xhtml1"

7.3. The code element

xsl:template match="x2:code" id="code"
  xsl:call-template name="copy-xhtml1"

7.4. The dfn element

xsl:template match="x2:dfn" id="dfn"
  xsl:call-template name="copy-xhtml1"

7.5. The em element

xsl:template match="x2:em" id="em"
  xsl:call-template name="copy-xhtml1"

7.6. The kbd element

xsl:template match="x2:kbd" id="kbd"
  xsl:call-template name="copy-xhtml1"

7.7. The l element

xsl:template match="x2:l" id="l"
  xsl:call-template name="copy-xhtml1"

7.8. The quote element

xsl:template match="x2:quote" id="quote"
  xsl:call-template name="copy-xhtml1"

7.9. The samp element

xsl:template match="x2:samp" id="samp"
  xsl:call-template name="copy-xhtml1"

7.10. The span element

xsl:template match="x2:span" id="span"
  xsl:call-template name="copy-xhtml1"

7.11. The strong element

xsl:template match="x2:strong" id="strong"
  xsl:call-template name="copy-xhtml1"

7.12. The sub element

xsl:template match="x2:sub" id="sub"
  xsl:call-template name="copy-xhtml1"

7.13. The sup element

xsl:template match="x2:sup" id="sup"
  xsl:call-template name="copy-xhtml1"

7.14. The var element

xsl:template match="x2:var" id="var"
  xsl:call-template name="copy-xhtml1"

7.15. The i:mk element

xsl:template match="i:mk" id="mk"
  <code class="markup">xsl:apply-templates</code>

7.16. The i:file element

xsl:template match="i:file" id="file"
  <kbd class="file">xsl:apply-templates</kbd>

7.17. Character data

Let’s make a xref here:

xsl:template match="text()" id="text"
  xsl:value-of select="."