In some cases you may wish to transform a collection of document or content. Inter-Publish has two features which support this process:• an indexing engine which allows you to specify complex persistent searches based on complex rules• the Transformation language, which allows the results of a selection process to be presented in a new style or form, with potentially multiple layers of presentation of the results of an indexMany field elements in a document can have repeating contents. For example, a document might have many subjects. In a Layout, the tag to show all subjects for a document could appear as: Subjects: <<Repeat_SubjectName>> <<SubjectName>> <</Repeat_SubjectName>>Documents can link to other content items (including Documents) creating a hierarchical structure. The implicit hierarchy for publishing Documents in Inter-Publish is: Collections which have Documents which have ElementsBoth document publishing and indexing allow repeating content to be published in a structured manner. Similarly, the Inter-Publish Indexing function allows dissecting of information within Inter-Publish according to user-defined hierarchies of content, for example: "Create a subject index for all documents in the Section called History of Multimedia.The general syntax for repeating information is: <<Repeat_itemtorepeat>> HTML content to be created <</Repeat_itemtorepeat>>Indexes can generate one to three levels of hierarchically organised content as follows: The primary sort category and for each category Each individual document item sorted by the secondary sort order and for each document item Attachments by attachment typeThe following repeat structures for indexing describe this hierarchy:<<Repeat_Category>><<Item>>The HTML to be repeated for each document item within the category<</Item>><</Repeat_Category>> A special form of Indexing repeat structure allows the construction of a list of repeating items in tabular form (eg a table of survey responses).<<Repeat_Array>>This HTML will repeat for each DOCUMENT within the collection<<Item>>Each primary sort CATEGORY will be repeated for EACH document<</Item>><</Repeat_Array>>