view xsls/versions.xsls @ 837:6678b1f27514

Improved readability of "Upgrading Executable on the Fly". The old text about what to do if the new executable fails to work properly caused confusion.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 11 Feb 2013 11:44:48 +0400
parents b2b10d564893
children 9ad2770d3f28
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template = "development_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='development'][1]/item[1]/@ver";
}

X:template = "stable_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='stable'][1]/item[1]/@ver";
}

}