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="section.level2.properties">
8 <refentrytitle>section.level2.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
12 <refname>section.level2.properties</refname>
13 <refpurpose>Properties for level-2 sections</refpurpose>
17 <src:fragment xml:id="section.level2.properties.frag">
18 <xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
23 <refsection><info><title>Description</title></info>
25 <para>The properties that apply to the containing
26 block of a level-2 section, and therefore apply to
27 the whole section. This includes <tag>sect2</tag>
28 elements and <tag>section</tag> elements at level 2.
31 <para>For example, you could start each level-2 section on
32 a new page by using:</para>
33 <programlisting><xsl:attribute-set name="section.level2.properties">
34 <xsl:attribute name="break-before">page</xsl:attribute>
35 </xsl:attribute-set>
38 <para>This attribute set inherits attributes from the
39 general <tag>section.properties</tag> attribute set.