Mercurial > hg > nginx-site
comparison xsls/news.xsls @ 706:cd0d1f0130db
Fixed language switcher.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 04 Oct 2012 15:02:32 +0000 |
parents | be54c443235a |
children | fdf1464e1977 |
comparison
equal
deleted
inserted
replaced
705:e159f385c62b | 706:cd0d1f0130db |
---|---|
13 -- a current directory of a XSLT script is where the script is stored, | 13 -- a current directory of a XSLT script is where the script is stored, |
14 -- but not where XSLT processor has been started to run the script | 14 -- but not where XSLT processor has been started to run the script |
15 --> | 15 --> |
16 X:param XML = "'../xml'"; | 16 X:param XML = "'../xml'"; |
17 X:param YEAR; | 17 X:param YEAR; |
18 X:param ORIGIN; | |
19 X:param TRANS; | |
18 | 20 |
19 X:var SITE = "'http://nginx.org'"; | 21 X:var SITE = "'http://nginx.org'"; |
20 X:var LINK = "/news/@link"; | 22 X:var LINK = "/news/@link"; |
23 X:var LANG = "/news/@lang"; | |
21 | 24 |
22 X:include href = "dirname.xslt"; | 25 X:include href = "dirname.xslt"; |
23 X:include href = "link.xslt"; | 26 X:include href = "link.xslt"; |
24 X:include href = "style.xslt"; | 27 X:include href = "style.xslt"; |
25 X:include href = "body.xslt"; | 28 X:include href = "body.xslt"; |