This stylesheet formats the elements described in the XHTML Text Module, and some extension elements.
xsl:stylesheet id="stylesheet" exclude-result-prefixes="x2 lit i" version="1.0" xml:lang="en" Standard Text Module elements Extension text elements Support for XSL literate programming
abbr element
The cite element
The code element
The dfn element
The em element
The kbd element
The l element
The quote element
The samp element
The span element
The strong element
The sub element
The sup element
The var element
abbr elementxsl:template match="x2:abbr" xsl:call-template name="copy-xhtml1"
cite elementxsl:template match="x2:cite" xsl:call-template name="copy-xhtml1"
code elementxsl:template match="x2:code" xsl:call-template name="copy-xhtml1"
dfn elementxsl:template match="x2:dfn" xsl:call-template name="copy-xhtml1"
em elementxsl:template match="x2:em" xsl:call-template name="copy-xhtml1"
kbd elementxsl:template match="x2:kbd" xsl:call-template name="copy-xhtml1"
l elementxsl:template match="x2:l" xsl:call-template name="copy-xhtml1"
quote elementxsl:template match="x2:quote" xsl:call-template name="copy-xhtml1"
samp elementxsl:template match="x2:samp" xsl:call-template name="copy-xhtml1"
span elementxsl:template match="x2:span" xsl:call-template name="copy-xhtml1"
strong elementxsl:template match="x2:strong" xsl:call-template name="copy-xhtml1"
sub elementxsl:template match="x2:sub" xsl:call-template name="copy-xhtml1"
sup elementxsl:template match="x2:sup" xsl:call-template name="copy-xhtml1"
var elementxsl:template match="x2:var" xsl:call-template name="copy-xhtml1"
xsl:template match="i:template" <code class="template">xsl:apply-templates</code>
xsl:template match="i:mode" <code class="mode">xsl:apply-templates</code>
xsl:template match="text()" xsl:value-of select="."
Formatted using xhtml2to1 by Steve Cheng.