2.29 QueryHierarchyLevelExpression

Applies to RDLRS 2012/01

The QueryHierarchyLevelExpression element specifies a reference to a named hierarchy level within a hierarchy on an entity. The QueryHierarchyLevelExpression element is of type QueryExpression.

Hierarchy: Specifies the name of the hierarchy to which the hierarchy level belongs. This element MUST be of type String. The Hierarchy element MUST be specified and MUST NOT be specified more than once.

HierarchyLevel: Specifies the name of the hierarchy level to be used for this expression. This element MUST be of type String. The HierarchyLevel element MUST be specified and MUST NOT be specified more than once.

Instance: Specifies the QueryExpression from which the value is to be retrieved. The Instance element MUST be specified and MUST NOT be specified more than once.

The following is the XSD for the QueryHierarchyLevelExpression element.

 <xs:complexType name="QueryHierarchyLevelExpression">
     <xs:complexContent>
       <xs:extension base="rs2011:QueryExpression">
         <xs:sequence>
           <xs:element name="Hierarchy" type="xs:string" />
           <xs:element name="HierarchyLevel" type="xs:string" />
           <xs:element name="Instance" type="rs2011:QueryExpression" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>