en:user:gslib
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
en:user:gslib [2019/09/23 00:36] – created kjdon | en:user:gslib [2019/09/23 22:42] – kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== gslib: XSL utility templates ====== | ====== gslib: XSL utility templates ====== | ||
- | Greenstone 3 has a gslib.xsl file which defines a lot of utility templates. These can be called simply by < | + | Greenstone 3 has a gslib.xsl file which defines a lot of utility templates. These can be called simply by < |
For example, gslib.xsl defines the following template: | For example, gslib.xsl defines the following template: | ||
Line 16: | Line 16: | ||
===== Variables ===== | ===== Variables ===== | ||
- | | $interface_name | | | + | | $interface_name | The internal name of the current interface, eg ' |
- | | $library_name | | | + | | $library_name | The name of the library servlet, eg ' |
- | | $site_name | | | + | | $site_name | The internal name of the current site, eg ' |
| $use_client_side_xslt | | | | $use_client_side_xslt | | | ||
| $filepath | | | | $filepath | | | ||
Line 37: | Line 37: | ||
===== Templates ===== | ===== Templates ===== | ||
- | | < | + | | < |
- | | < | + | | < |
| < | | < | ||
| < | | < |
en/user/gslib.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1