Debian Codegraph @

doc/replace-PROG-VERSION.xsl

raw
1 <?xml version="1.0"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:db="http://docbook.org/ns/docbook" version="1.0">
3
4 <xsl:param name="VERSION"/>
5 <xsl:template match="db:phrase[@role='VERSION']"><xsl:value-of select="$VERSION"/></xsl:template>
6
7 <xsl:param name="PROG"/>
8 <xsl:template match="db:phrase[@role='PROG']"><xsl:value-of select="$PROG"/></xsl:template>
9
10 <!-- identity transform -->
11 <xsl:template match="node()|@*">
12 <xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>
13 </xsl:template>
14
15 </xsl:stylesheet>