view xslt/version.xslt @ 606:cb43695220b2

o Move introduction/ and howto/ are rather small so move those sections into docs/. o Rename "nginx: faq" article and its lang-specific variations to "FAQ".
author Maxim Konovalov <maxim@nginx.com>
date Tue, 24 Jul 2012 10:18:38 +0000
parents 8659ea8ffbe1
children d900707102c6
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

   <xsl:param select="'development'" name="VERSION"/>

   <xsl:output method="text"/>

   <xsl:template match="/versions">
      <xsl:value-of select=" normalize-space(*[local-name() = $VERSION])"/>
   </xsl:template>

</xsl:stylesheet>