ZVON > > Templatotron
tutorial | contents | introduction | reference | >> download << |

Templatotron - download and execution

Zvon Templatotron is implemented as an XSLT 1.0 stylesheet and product of its application on a Templatotron template is an XSLT 1.0 stylesheet which can be used to process target documents. The following example uses Saxon from the command line. With this processor the name following -o is the name of the output file, the next argument is an XML source and the last one an XSLT stylesheet. The file "template.xml" contains a Templatotron template and "table.xml" a source document.


$ saxon -o intermediateStylesheet.xslt template.xml templatotron.xslt
$ saxon -o finalResult.xml  table.xml intermediateStylesheet.xslt

You can download either 3.5 kB Templatotron implementation or the documentation in zip and tar.gz format. The documentation starts with the file index.html and it contains templatotron.xslt file.