comparison xsls/article.xsls @ 693:095d1972dad9

Added ability to switch languages without context change.
author Vladimir Homutov <vl@nginx.com>
date Fri, 28 Sep 2012 11:14:47 +0000
parents 89a4e934d207
children cd0d1f0130db
comparison
equal deleted inserted replaced
692:31ba6a104186 693:095d1972dad9
11 11
12 <!-- 12 <!--
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; 18 X:param ORIGIN;
19 X:param NOLANGORIGIN;
20 X:param TRANS;
19 21
20 X:var LINK = "/article/@link | /module/@link"; 22 X:var LINK = "/article/@link | /module/@link";
21 X:var LANG = "/article/@lang | /module/@lang"; 23 X:var LANG = "/article/@lang | /module/@lang";
22 24
23 X:include href = "dirname.xslt"; 25 X:include href = "dirname.xslt";