123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: rspec
- (C) Copyright IBM Corp. 2003, 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rspec="http://developer.cognos.com/schemas/report/6.0/" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:include schemaLocation="V5_base.xsd"/>
- <xs:include schemaLocation="V5_queryBase.xsd"/>
- <xs:element name="query" type="queryType">
- <xs:annotation>
- <xs:documentation>A query defines the data to be retrieved from the database. It consists of a source, a selection, detailed and summary filters, and a dimension Information. Query hints can be supplied. A query does not define the structure or presentation of the retrieved data.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="selection">
- <xs:annotation>
- <xs:documentation>The selection identifies the metadata elements upon which the query is based. This is analogous to a projection from the source.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="dataItem" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="autoSummary" type="xs:boolean" use="optional" default="true"/>
- </xs:complexType>
- <xs:unique name="dataItemUniqueness">
- <xs:selector xpath="*"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- </xs:element>
- <xs:element name="slicer">
- <xs:annotation>
- <xs:documentation>a list of member expressions. the list is interpreted as a tuple of members.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="slicerMemberSet" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|