Lists are used on summary pages to display information gathered in loops. The structure of the list should reflect the structure of the loop or hierarchy of loops that collected the data. This means that the entity and criteria on the list should match the entity and criteria on the loop. For example, to record the members of the family described in Families and Households, a for loop was used:
<loop loop-type="for" loop-expression="numPeople" entity="Person" criteria="isPrimary==false"> ... </loop>
In the section summary page, the information gathered in this loop is displayed in a list. The list, like the loop, has 'Person' as its entity and 'isPrimary==false' as its criteria:
<list entity="Person" criteria="isPrimary==false"> ... </list>
Relationship information gathered using a relationship page can be displayed on summary pages in relationship summary lists:
<relationship-summary-list> <title id="RelationshipSummaryList.Title"> <![CDATA[Person Relationships Summary]]> </title> <description id="PersonRelationshipSummaryList.Description"> <![CDATA[Person Relationship Summary Details]]> </description> <column id="caretakerInd"> <title id="CaretakerInd.Title"> <![CDATA[NPCR]]> </title> </column> <edit-link start-page="RelationshipPage" /> </relationship-summary-list>