If you are just getting started with DocBook, I would recommend my free
online book "DocBook XSL: The Complete Guide". In this section of the book:
http://www.sagehill.net/docbookxsl/SectionNumbering.html
it says that "To turn on basic section numbering, set the
/|section.autolabel|/ parameter to 1". Stylesheet parameters can be set
on the command line or in an XSL customization layer as described
elsewhere in the book.
Once section numbering is turned on, the @label value on a sect1 element
will override the default number.
Bob Stayton
[email protected]
On 9/25/2019 11:41 AM, Brendan Martin wrote:
Hi,
I’m entirely new to DocBook and am trying to use it in Oxygen’s XML
Editor (v. 21). I’m trying to convert a client’s native XML to DocBook
for use.
I have a document with <sect1> as a root element and subsections and
the @label attribute does not work:
1. In Oxygen Author mode section labels are prefixed with the label
of the component that contains them (I want to turn that off),
plus the actual @label value is ignored (autonumbering takes
over), e.g., <sect1 label=”Chapter 6”> appears in Oxygen as
“Section 1:”
2. In PDF the @label value is simply ignored.
Any help is appreciated. Thanks.
Regards,
Brendan Martin