summaryrefslogtreecommitdiff
path: root/docs/xslt/strip-references.xsl
blob: c3dbb71e1128d14aaa886c000d07c5d6be6b22cc (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version='1.0'?>
<!-- Removes particular (unuseful for the book) elements from references -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.1">
	<xsl:template match="reference/refentry/refsect1[title='VERSION' or title='AUTHOR']"/>

	<xsl:template match="reference/refentry/refmeta"/>

	<xsl:template match="reference/refentry/refnamediv"/>
</xsl:stylesheet>