1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-27 08:58:08 +00:00
bitcoinbook/theme/epub/epub.xsl

17 lines
650 B
XML
Raw Normal View History

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="h">
<!-- Add title heading elements for different admonition types that do not already have headings in markup -->
<xsl:param name="add.title.heading.for.admonitions" select="1"/>
<!-- Drop @width attributes from table headers if present -->
<xsl:template match="h:th/@width"/>
<!-- Drop @width attributes from images if present -->
<xsl:template match="h:img/@width"/>
</xsl:stylesheet>