Home > Implementation > File Types > trWSite.xsl

Description of trWSite.xsl

The trWSite.xsl file is at the core of the trgensit package. Its content determines largely how the structure of the target web page will look.

trWSite.xsl is an XML style sheet file conforming to the XSLT 1.0 specification. It is the main input file to an XSLT 1.0 transformation. The purpose of the XSLT transformation is to generate the final index.htm HTML file.

The XSLT transformation typically performs the following functions:

Formally the XSLT transformation is applied to a trWNav.xml file, steered by the trWSite.xsl file. The file body.htm is also processed during the transformation.

In other words, the XSLT transformation has three input files:

and one output file

Like all XML files, trWSite.xsl can be written with any text editor. However an XML-aware editor will greatly ease editing. I use GNU Emacs with nXML mode to get syntax highlighting and XML validity checking.


Last change: 2024-09-26
© 2002-2024 Dr. Thomas Redelberger redetho(at)gmx.de