view xsls/versions.xsls @ 920:7afb12159c1d

Translated documentation on ssi/sub_filter/xslt_last_modified into Russian.
author Vladimir Homutov <vl@nginx.com>
date Thu, 30 May 2013 13:03:00 +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";
}

}