Reference

kwartz(1)

language independent HTML templating system

NAME

kwartz - language independent HTML templating system

SYNOPSIS

kwartz [options] files ... 

DESCRIPTION

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)

SEE ALSO

/usr/share/doc/kwartz/

The kwartz template system documentation.

http://www.kuwata-lab.com/kwartz/

The kwartz home page.

AUTHOR

This manual page was written by Wesley J. Landaker <[email protected]>, for the Debian project (but may be used by others without restriction).

History

--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).