Filename: | FF&E list group.xfd |
---|
Level | Advanced |
---|
XML from report: | FF&E -> FF&E list -> FF&E list grouped by FF&E level |
---|
XML sample file: | xml/file_with_cost.xml |
---|
Key concepts | Dynamic indentation, condition, table repeat, key/index |
---|
This report demonstrates how to print the hierarchical FF&E catalog structure with FF&E items. The report traverses the <level> structure that represents the FF&E catalog structure. To do this we have a repeating section over the <level> nodes. It is important to note that <level> nodes are nested in each other to represent the hierarchical structure. For this reason, simply drag and drop the first level on to the document and create a repeating section over the expression that is created (/drofus-xml/level). The expression will not work because it will only iterate over the <level> nodes at the top level, not the sub levels. To get this done we use an expression that will select all <level> nodes in the document regardless of where it is placed in the XML structure. This expression can be: