Designer 10.5 | Centrasite Eclipse UI Help | Reference | Pages in BIRT | Specify XQuery Page
 
Specify XQuery Page
The CentraSite Eclipse GUI integrates the Specify XQuery page in the BIRT New Data Set wizard and Edit Data Set dialog for data sets that use a data source of type CentraSite XQuery. The page has the following fields and options:
Field / Option
Description
Query
The query that specifies the data to be retrieved from the registry and to be included in the data set. The query must be written in XQuery syntax and format. For details on XQuery in CentraSite, contact your CentraSite support organization.
Example:
The following query retrieves all registry objects of type organization from the registry.
declare namespace cs="http://namespaces.CentraSite.com/Schema/jaxr"; for $ro in collection("CentraSite")/cs:organization return $ro
Delete Query
Removes any text from the Query field.
Load
Opens a dialog where you can select a text file that contains a query. The text file contents is loaded into the Query field.
Paste
Pastes the contents of the clipboard to the Query field. Alternatively, you can press CTRL + V on your keyboard.
Preview first x lines of source data
Allows you to specify the maximum number of table rows that the BIRT preview function should display. If you do not check this option, the number of rows is unlimited.