Commit b34b0fc6 authored by Wendell Piez's avatar Wendell Piez

Extracting probably/nominal item (chapter) title as html/head/title

parent 001561a0
......@@ -12,6 +12,18 @@
<xsl:output method="xml" indent="no" omit-xml-declaration="yes"/>
<xsl:template match="html/head">
<xsl:for-each select="(//h1 | //h2 | //h3)[1]">
<xsl:value-of select="."/>
<xsl:template match="html/head/title"/>
<xsl:template match="node() | @*">
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