10.4.5 Tree Elements and Document Structure

You can find information on document structure associated to each node, sectioning and heading element by looking at the tree element extra information, and by accessing relations information associated to each of these elements.