17.5.8 Closing DocBook ancestor elements

To get a block element under the correct parent, you might have to specify that an ancestor element (and all its descendants) must end when the current block element ends; or that the prior block must end before the current block element begins.

In this section:

§17.5.8.1 Ending ancestor elements before the current block

§17.5.8.2 Ending ancestor elements after the current block