Skip to content

Commit

Permalink
Trying to generate an ID for the TOC in HTML output. And going to pla…
Browse files Browse the repository at this point in the history
…y with other xslt processors
  • Loading branch information
tbielawa committed Mar 9, 2016
1 parent 4705729 commit f4c46b6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xsl/docbook-html.xsl
Expand Up @@ -2,15 +2,19 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="/home/tbielawa/opt/docbook/stylesheets/html/docbook.xsl"/>

<!-- <xsl:import href="/home/tbielawa/opt/docbook/stylesheets/epub/docbook.xsl"/> -->
<!-- output styling/format -->
<xsl:param name="html.stylesheet">./lnx-docbook-stylesheet.css</xsl:param>
<xsl:template name="user.head.content">
<xsl:variable name="codefile" select="document('js/vdg.js',/)"/>
<xsl:copy-of select="$codefile/html/node()"/>
</xsl:template>

<xsl:output method="html" encoding="utf-8" indent="yes"/>

<xsl:param name="use.extensions" select="1"></xsl:param>
<xsl:param name="linenumbering.extension" select="1"></xsl:param>

<xsl:param name="generate.id.attributes" select="1"/>
<xsl:param name="admon.graphics">1</xsl:param>
<xsl:param name="draft.mode">yes</xsl:param>
<xsl:param name="make.year.ranges">1</xsl:param>
Expand Down

0 comments on commit f4c46b6

Please sign in to comment.