File: replace-version.xsl

package info (click to toggle)
globus-simple-ca 3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 708 kB
  • sloc: sh: 9,826; xml: 533; makefile: 169
file content (16 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">
    <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
    <xsl:param name="version"/>

    <xsl:template match="/">
      <xsl:apply-imports/>
    </xsl:template>

    <xsl:template match="replaceable[@role='entity']">
        <xsl:if test="text() = 'version'">
            <xsl:value-of select="$version"/>
        </xsl:if>
    </xsl:template>

</xsl:stylesheet>