kwartz1
Language independent html templating system
Usage
kwartz [options]
files ...
Overview
kwartz is a template system which allows you to separate HTML design from programming logic. It creates a script in one of several languages from the template, which you then call from your web application.
Options
-
-h -
help
-
-v -
version
-
-e -
alias of '--escape=true'
-
-l lang -
eruby/php/eperl/rails/jstl (default 'eruby')
-
-k kanji -
euc/sjis/utf8 (default nil)
-
-r library,... -
require libraries
-
-p plogic,... -
presentation logic files
-
-i pdata,... -
import presentation data files
-
-L layoutfile -
layout file ('-L f1 f2' is equivalent to '-i f2 f1')
-
-x elem-id -
extract content of element marked by elem-id
-
-X elem-id -
extract element marked by elem-id
-
-f yamlfile -
YAML file for context values
-
-t -
expand tab character in YAML file
-
-S -
convert mapping key from string to symbol in YAML file
-
--dattr=str -
directive attribute name
-
--odd=value -
odd value for FOREACH/LOOP directive (default "'odd'")
-
--even=value -
even value for FOREACH/LOOP directive (default "'even'")
-
--header=str -
header text
-
--delspan={true|false} -
delete dummy span tag (default false)
-
--escape={true|false} -
escape (sanitize) (default false)
-
--jstl={1.2|1.1} -
JSTL version (default 1.2)
-
--charset=charset -
character set for JSTL (default none)
History
- Debian 4.0 (Etch): the text shown here
- Debian 3.1 (Sarge)
--delspan since Debian 4.0 (Etch);
--jstl since Debian 4.0 (Etch);
-L since Debian 4.0 (Etch);
-S since Debian 4.0 (Etch);
-X since Debian 4.0 (Etch);
-f since Debian 4.0 (Etch);
-k since Debian 4.0 (Etch);
-r since Debian 4.0 (Etch);
-t since Debian 4.0 (Etch);
-x since Debian 4.0 (Etch).
--extract until Debian 3.1 (Sarge);
--help until Debian 3.1 (Sarge);
--include-dirs until Debian 3.1 (Sarge);
--rename until Debian 3.1 (Sarge);
-a until Debian 3.1 (Sarge);
-s until Debian 3.1 (Sarge).