The XQuery Designer allows complex XQueries and XPath statements to be Executed against the Report Data Source. XQuery is a query and functional programming language that is designed to query and transform collections of structured and unstructured data, usually in the form of XML (Extensible Markup Language).
Report Data can be queried using XQuery Commands and the Results displayed below.
The XQuery Designer shows a logical view of the XML Data in a Treeview and the XQuery Commands provides the means to extract and manipulate Data from the Report Data Source.
Inserting an XQuery Function
Predefined XQuery Functions can be Inserted into the XQuery using the Function Tool.
XQuery contains a superset of XPath expression syntax to address specific parts of an XML document.
The language is based on the XQuery and XPath Data Model (XDM) which uses a tree-structured model of the information content of an XML document.
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.