The Report Data Source can be XML as a Dataset or an XML Document or CSV, JSon or HTML. All Report Data Sources Types are converted and loaded as XML for Querying using XQuery or Python.
An XSD File can also be specified for the Data Source in the Report properties. If the Data Report Engine cannot find an XSD File the Report Data Schema will be inferred as a typed Schema from the Report Data XML.
The Data Source File can reside either locally or on the Internet. Click the Data Source Icon to specify the Data Source for the Report.
Advanced properties for the Data Source can be configured by clicking the properties button.
The Report Context is the Data Context of the current XML Data Node. The default Context is the Report Data XML Root Node. Data Contexts can be applied to Sections, Groups, Paragraphs, Tables and other Report Items and can be used to drive and build Report Content if the Context Data Nodes can be enumerated.
Report Data Contexts
Data Contexts can be either a series of XQuery or Python statements as applied to the current Data Context or XML, JSon, CSV or HTML. If the Context Type is an XQuery then an XQuery / XPath statement is Evaluated in the current Report Data Context. If the Context Types are XML, JSon or HTML then Data is read from these Contexts allowing Data to be used and read into the Report Context from other Data Sources such as API's etc.
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.
To Add Namespaces open the Report properties and select Namespaces from the Property Page. Add a Namespace, Prefix and URI to the Collection Editor to reflect the Namespaces in the XML Data Source.
Report Data Source 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 Data Source Context click the Button on the XSLT Property to Open the XSLT Editor.
The URI Query for the XSLT can be a series of XQuery or Python statements to specify the location of the File URI. If the Value Type is a literal the URI location will be determined from the URI property. If the Value Type is Query the URI location will be determined from the URI Query.