Document toolboxDocument toolbox

Report for Items In Room

Filename:

Items in room.xfd

Level

Medium

XML from report:

Room → Equipment list per room

XML sample file:

xml/ffe_in_room.xml

Key concepts

Building Blocks, Dynamic page set


As the RDS – simple sample report this report uses a dynamic page set for each room ordered by room function number. It also uses the standard header and footer building blocks and the room core building block. In addition it has the FF&E in room building block. The FF&E in room building block needs an index of all the articles and the room core building block needs an index of all the ref rooms in order to function properly so the following xpath expression has been added in the Review->Global XSLT window:

<xsl:key match="article" name="article-index" use="@id"/> 
<xsl:key match="room" name="room-ref-index" use="@ref"/> 

<xsl:key match="article" name="article-index" use="@id"/> 
<xsl:key match="room" name="room-ref-index" use="@ref"/>