2.52 AttributeRef

The AttributeRef element specifies an attribute reference node in a query expression tree.

Exactly one AttributeRef.AttributeID or AttributeRef.AttributeName element MUST be specified as a child of the AttributeRef element.

The following are the parent and child elements of the AttributeRef element.

Parent elements

Expression

Child elements

AttributeRef.AttributeID

AttributeRef.AttributeName

The following is the XML Schema definition of the AttributeRef element.          

 <xsd:complexType name="AttributeRefType">
   <xsd:all>
     <xsd:element name="AttributeID" type="xsd:QName" minOccurs="0" />
     <xsd:element name="AttributeName" type="xsd:string" minOccurs="0" />
   </xsd:all>
 </xsd:complexType>