Blame params/show.revisionflag.xml

Packit 6d14d2
Packit 6d14d2
          xmlns:xlink="http://www.w3.org/1999/xlink"
Packit 6d14d2
          xmlns:xi="http://www.w3.org/2001/XInclude"
Packit 6d14d2
          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
Packit 6d14d2
          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
Packit 6d14d2
          version="5.0" xml:id="show.revisionflag">
Packit 6d14d2
<refmeta>
Packit 6d14d2
<refentrytitle>show.revisionflag</refentrytitle>
Packit 6d14d2
<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
Packit 6d14d2
</refmeta>
Packit 6d14d2
<refnamediv>
Packit 6d14d2
<refname>show.revisionflag</refname>
Packit 6d14d2
<refpurpose>Enable decoration of elements that have a revisionflag</refpurpose>
Packit 6d14d2
</refnamediv>
Packit 6d14d2
Packit 6d14d2
<refsynopsisdiv>
Packit 6d14d2
<src:fragment xml:id="show.revisionflag.frag">
Packit 6d14d2
<xsl:param name="show.revisionflag" select="0"/>
Packit 6d14d2
</src:fragment>
Packit 6d14d2
</refsynopsisdiv>
Packit 6d14d2
Packit 6d14d2
<refsection><info><title>Description</title></info>
Packit 6d14d2
Packit 6d14d2
<para>
Packit 6d14d2
If <parameter>show.revisionflag</parameter> is turned on, then the stylesheets
Packit 6d14d2
may produce additional markup designed to allow a CSS stylesheet to
Packit 6d14d2
highlight elements that have specific revisionflag settings.</para>
Packit 6d14d2
Packit 6d14d2
<para>The markup inserted will be usually be either a <span> or
Packit 6d14d2
<div> with an appropriate <literal>class</literal>
Packit 6d14d2
attribute. (The value of the class attribute will be the same as the
Packit 6d14d2
value of the revisionflag attribute). In some contexts, for example
Packit 6d14d2
tables, where extra markup would be structurally illegal, the class
Packit 6d14d2
attribute will be added to the appropriate container element.</para>
Packit 6d14d2
Packit 6d14d2
<para>In general, the stylesheets only test for revisionflag in contexts
Packit 6d14d2
where an importing stylesheet would have to redefine whole templates.
Packit 6d14d2
Most of the revisionflag processing is expected to be done by another
Packit 6d14d2
stylesheet, for example <filename>changebars.xsl</filename>.</para>
Packit 6d14d2
Packit 6d14d2
</refsection>
Packit 6d14d2
</refentry>