]> git.stg.codes - stg.git/blob - doc/xslt/params/shade.verbatim.style.xml
Merge branch 'naffanya-dev'
[stg.git] / doc / xslt / params / shade.verbatim.style.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="shade.verbatim.style">
7 <refmeta>
8 <refentrytitle>shade.verbatim.style</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>shade.verbatim.style</refname>
13 <refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="shade.verbatim.style.frag">
18 <xsl:attribute-set condition="html" name="shade.verbatim.style">
19   <xsl:attribute name="border">0</xsl:attribute>
20   <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
21 </xsl:attribute-set>
22 <xsl:attribute-set condition="fo" name="shade.verbatim.style">
23   <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
24 </xsl:attribute-set>
25 </src:fragment>
26 </refsynopsisdiv>
27
28 <refsection><info><title>Description</title></info>
29
30 <para>Properties that specify the style of shaded verbatim listings. The
31 parameters specified (the border and background color) are added to
32 the styling of the xsl-fo output. A border might be specified as "thin
33 black solid" for example. See <link xlink:href="http://www.w3.org/TR/2004/WD-xsl11-20041216/#border">xsl-fo</link></para>
34
35 </refsection>
36 </refentry>