Report Includes are a Report within a Report often referred to as Sub-Reports. Report Content can be modularised and shared between other Reports and Sub Reports if the Content is reusable, duplicated or common Sections of Content.
To Add or Edit a Report Include click on the Report Treeview and select the Section or Group you wish to create the Include Sub Report.
The URI Query for the Include can be an XQuery expression to specify the location of the Include. If the Value Type is a literal the Include File location will be determined from the URI property. If the Value Type is XQuery the Include location will be determined from the URI Query.
Report Includes can also contain Report Conditional Rules to determine if the Include / Sub-Report is displayed or not. Report Rules are XQuery expressions that return True or False and determine if Content is Enabled. By Default if empty the Rule will always be True.
The Context for the Report Include can also be specified using the XQuery designer. If blank the main report Data Context will be passed to the Report Include.
Report Include Data XSLT
XSLT Reporting features Extensible Stylesheet Language Transformations which is a language for transforming XML documents into other XML documents or other formats such as HTML for web pages or plain text.
To specify an XSLT to Transform the Report Include Data Context click the Button on the XSLT Property to Open the XSLT Editor.
Report Include Context
In addition to XSLT Report Includes can be specified with a specific Context. If no Context is specified then the Current Report Data Context will be used.
The URI Query for the Context and XSLT can be an XQuery expression to specify the location of the URI. If the Value Type is a literal the URI location will be determined from the URI property. If the Value Type is XQuery the URI location will be determined from the URI Query.
XML namespaces are used for providing uniquely named elements and attributes. If the Data Source contains Namespaces they can be applied to the XQuery Processor.