xtemplate1
(x)template expansion/serialization tool
Usage
xtemplate [{-d
<data-file> | -D
<data-expr> | -x
<xml-file> | -y
<yaml-file>}]
[{-t
<template-file> | -T
<serialized-template>}]
[-o
<output-file>]
[{--with-eruby | --with-erb}]
xtemplate -c
<template-file>
[-o
<output-file>]
Overview
Options for expansion
-
-d file -
read input data from file which is written in Ruby.
-
-D expr -
get input data from expr as input data which is written in Ruby.
-
-x file -
read input data from file which is written in XML.
-
-y file -
read input data from file which is written in YAML.
-
-t file -
read (x)template from file.
-
-T file -
read serialized (x)template from file.
-
-o file -
output into file.
-
--with-eruby -
process (x)temlate file and/or XML input file as ERuby script befor expantion. (using eruby.)
-
--with-erb -
process (x)temlate file and/or XML input file as ERuby script befor expantion. (using ERb.)
Options for serialization
-
-c -
read (x)template from file.
-
-o -
output serialized (x)template into file.
Common options
-
--show-time -
print processing time.
-
--use-amrita -
use Amrita instead of XTemplate.
Releases
Unchanged in 3 releases since Debian 3.1 (Sarge).