I think I am beginning to understand this but I welcome any corrections.
1. The DocBook capability in AOO is really old - it dates back to OOo. It is not, as I originally thought, something which has recently been added. My confusion arose because all the very old pages have
Apache OpenOffice 4.1.5 released at the top which I misread as meaning the pages were part of the AOO 4.1.5 release. They are not - they were created many years ago by OpenOffice.org.
2. I think the idea is that you download the DocBook Styles Template. You now create a well structured document using the Styles features like headings, paragraphs etc, where the Styles you use are from the template.
3. If you wish, you can now save the document as a .odt file and you get a normal document.
4. The DocBook capability arises because you can File > Save As ..., and choose DocBook as your file type.
AOO now exports your normal document as XML code, using XML tags, in an .XML file, using the correct DocBook XML format. AOO can do this because
you have used the DocBook Styles and
AOO translates these DocBook Styles to valid DocBook XML code.
See
DocBook Filters - Read and write docbook xml using OpenOffice.org says:
The project goal is to explore the possibility of using OpenOffice.org as a WYSIWYG editor of XML content.
The principle is to edit structured documents using styles. These styles are then transformed to XML tags on export.
Anyone from community is welcome to join the project. The current issues and enhancements filed for DocBook are these.
This page shows how to enable and use the DocBook filters. It also shows the location of the stylesheets so that users can download and use the latest transformations. The filter provided on this page is based on earlier releases of the DocBook filter. New features include:
Support for nested tags
Support for unresolved entities
Increased range of supported DocBook tags (index, xref, id attributes for sect etc.)
Use of new Tools -> XML Filter Settings dialog in OpenOffice.org
I searched the forum with
Docbook and there are very few relevant posts.