hierarchy-node-query

Type: XPathQuery

Set the XPath query used to determine nodes in the document that will be represented by nodes in the hierarchy.

For example, you have the document below:

Other

<rootElement>
  <introduction/>

  <section>
    <section>
        You do not want this section in hierarchy, because its parent is not rootElement
    </section>

    <info/>
  </section>
</rootElement>

And you want to have this in the hierarchy:

Other

* rootElement
  * introduction
  * section
    * info

Then you need to use this configuration:

Other

configurationManager.set(
  'hierarchy-node-query',
  'rootElement | introduction or section[parent::rootElement] | info'
);