view xslt/versions.xslt @ 546:694db9597ee0

Documented the special value "*" in various "*_type" directives.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 21 Jun 2012 21:29:00 +0000
parents cd2698ea00ab
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:template match="development_version">

      <xsl:value-of select=" normalize-space(document(concat($XML, '/versions.xml'))                       /versions/development)"/>
   </xsl:template>

   <xsl:template match="stable_version">

      <xsl:value-of select=" normalize-space(document(concat($XML, '/versions.xml'))                       /versions/stable)"/>
   </xsl:template>

</xsl:stylesheet>