summaryrefslogtreecommitdiff
path: root/docs-xml/xslt/strip-references.xsl
blob: 951d4be174c5b3ae01a4dd710948209fb841c7d6 (plain)
1
2
3
4
5
6
7
8
<?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>