Suppose you want to produce a list of titles in your document. If you want all titles, you could assign property Var to title (see §11.2 Specifying properties of element types). If you want only chapter titles, you could assign a user variable name to an element path that begins with title:
[VariableMaps]
title/$topic/1 = title
You could create a macro that iterates through the resulting <$$title[n]> multiple-instance user variable:
[WriteTitles]
<$$title><$_repeat ($$title[])><br>
<$$title[$$_wcount]><$endrepeat>\
and invoke the macro with code assigned to another macro, or to a configuration setting:
<p class="titles"><$WriteTitles></p>
<p class="titles">Test Suite Design<br>
Purpose<br>
Suite Components<br>
Expected Results<br>
Test Suite Operation<br>
Test Suite Coverage<br>
Contributors<br>
. . .