Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
conver more tags in xml
Browse files Browse the repository at this point in the history
  • Loading branch information
superyyrrzz committed Sep 12, 2017
1 parent 48fe694 commit e3e1102
Showing 1 changed file with 50 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,56 @@

<xsl:output method="xml" indent="yes" encoding="UTF-8" />

<xsl:template match="bold">
<b>
<xsl:apply-templates />
</b>
</xsl:template>

<xsl:template match="emphasis">
<em>
<xsl:apply-templates />
</em>
</xsl:template>

<xsl:template match="preformatted">
<pre>
<xsl:apply-templates />
</pre>
</xsl:template>

<xsl:template match="subscript">
<sub>
<xsl:apply-templates />
</sub>
</xsl:template>

<xsl:template match="superscript">
<sup>
<xsl:apply-templates />
</sup>
</xsl:template>

<xsl:template match="programlisting">
<code>
<xsl:apply-templates />
</code>
</xsl:template>

<xsl:template match="codeline">
<xsl:apply-templates />
<xsl:text>
</xsl:text>
</xsl:template>

<xsl:template match="highlight">
<xsl:apply-templates />
</xsl:template>

<xsl:template match="sp">
<xsl:text>&#160;</xsl:text>
</xsl:template>

<xsl:template match="para">
<p>
<xsl:apply-templates />
Expand Down

0 comments on commit e3e1102

Please sign in to comment.