# In-Table List With Alternate Content in HTML Document {{< alert style="info" >}}In this article, we will use GroupDocs.Assembly to generate In-Table Master-Detail report in HTML Document format.{{< /alert >}} ## In-Table List With Alternate Content in HTML Document {{< alert style="info" >}}This feature is supported by version 17.03 or greater{{< /alert >}} ### Reporting Requirement As a report developer, you are required to represent your products and their prices with the following key requirements: * Report must show each product along with its price. * It must show sum of all the prices. * It must represent all the information in tabular form. * Report must be generated in the HTML Document. ### Adding Syntax to be evaluated by GroupDocs.Assembly Engine

Products

Order Price

<<if [!Any()]>>No data

<<else>><<foreach [in orders]>><<[Product.ProductName]>>

<<[Price]>><</foreach>>

Total:

<<[Sum(c => c.Price)]>><</if>>

{{< alert style="success" >}}For detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine{{< /alert >}} ### Download In-Table List With Alternate Content Template Please download the sample In-Table list with alternate content document we created in this article: * [In-Table List with Alternate Content.html](https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-.NET/blob/master/Examples/Data/Source/HTML%20Templates/In-Table%20List%20with%20Alternate%20Content.html?raw=true) ### Generating The Report {{< alert style="info" >}}The code uses some of the objects defined in: The Business Layer{{< /alert >}}{{< gist rida-fatima-aspose 5b6467adfd709f7814c059cc6dd6221b >}}