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.level1.properties">
8 <refentrytitle>section.level1.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
12 <refname>section.level1.properties</refname>
13 <refpurpose>Properties for level-1 sections</refpurpose>
17 <src:fragment xml:id="section.level1.properties.frag">
18 <xsl:attribute-set name="section.level1.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-1 section, and therefore apply to
27 the whole section. This includes <tag>sect1</tag>
28 elements and <tag>section</tag> elements at level 1.
31 <para>For example, you could start each level-1 section on
32 a new page by using:</para>
33 <programlisting><xsl:attribute-set name="section.level1.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.