Commit f663c67e authored by Stephan Kreutzer's avatar Stephan Kreutzer

xhtml_to_glossary_1 workflow: Retain glossary found in the base text.

parent 76e2bf95
......@@ -517,6 +517,24 @@ license may apply.
</a>
</xsl:template>
<xsl:template match="/hyperglossary/xhtml-src:html/xhtml-src:body//xhtml-src:dl">
<dl>
<xsl:apply-templates/>
</dl>
</xsl:template>
<xsl:template match="/hyperglossary/xhtml-src:html/xhtml-src:body//xhtml-src:dt">
<dt>
<xsl:apply-templates/>
</dt>
</xsl:template>
<xsl:template match="/hyperglossary/xhtml-src:html/xhtml-src:body//xhtml-src:dd">
<dd>
<xsl:apply-templates/>
</dd>
</xsl:template>
<xsl:template match="/hyperglossary/glossary">
<xsl:text>asdf</xsl:text>
<xsl:apply-templates select=".//dl"/>
......
......@@ -112,6 +112,24 @@ along with xhtml_to_glossary_1 workflow. If not, see <http://www.gnu.org/license
</a>
</xsl:template>
<xsl:template match="/xhtml-src:html/xhtml-src:body//xhtml-src:dl">
<dl>
<xsl:apply-templates/>
</dl>
</xsl:template>
<xsl:template match="/xhtml-src:html/xhtml-src:body//xhtml-src:dt">
<dt>
<xsl:apply-templates/>
</dt>
</xsl:template>
<xsl:template match="/xhtml-src:html/xhtml-src:body//xhtml-src:dd">
<dd>
<xsl:apply-templates/>
</dd>
</xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment