$revhistory-style

$revhistory-style — Rendering style for revhistory elements.

Parameter:
{}revhistory-style
Defined in:
param.xsl
Used in:
main.xsl, param.xsl

Synopsis

  |$revhistory-style := 'table'

Description

The revhistory element can be rendered as a list or a table. If $revhistory-style is “table>”, it will be rendered using the tabular style, if it is “list”, it will be rendered using the list style.

Example 1, “An example of char alignment” shows an example of a revhistory element.

   |<revhistory>
   |<revision>
   |<revnumber>1.0.0</revnumber>
   |<date>2020-07-27</date>
   |<author>
   |<personname>Norman Tovey-Walsh</personname>
   |</author>
   |<revdescription>
   |<para>Version 1.0.0 released.</para>
   |</revdescription>
   |</revision>
   |<revision>
   |<revnumber>0.0.1</revnumber>
   |<date>2020-05-08T06:24:00Z</date>
   |<author>
   |<personname>Norman Tovey-Walsh</personname>
   |</author>
   |<revremark>Development begins.</revremark>
   |</revision>
   |</revhistory>
Example 1An example of char alignment

It is shown rendered as a table in Figure 1, “An example of revhistory rendered as a table”.

Revision History
1.0.027 Jul 2020Norman Tovey-Walsh

Version 1.0.0 released.

0.0.106:24 08 May 2020Norman Tovey-Walsh

Development begins.

Figure 1An example of revhistory rendered as a table

The same revhistory is shown rendered as a list in Figure 2, “An example of revhistory rendered as a list”.

Revision History
  • 1.0.0, 27 Jul 2020, Norman Tovey-Walsh

    Version 1.0.0 released.

  • 0.0.1, 06:24 08 May 2020, Norman Tovey-Walsh

    Development begins.

Figure 2An example of revhistory rendered as a list

The default style specified by $revhistory-style can be overridden on a case-by-case basis with the db processing instruction using the revhistory-style pseudo-attribute.