view xslt/versions.xslt @ 504:695f83494c19

Emphasized on what the "updating" parameter of the "proxy_cache_use_stale" directive achieves. Referenced the "proxy_cache_lock" directive from there, which has similar effect when populating a new cache element.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Apr 2012 06:54:47 +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>