<xs:element name="TimeRange"> <xs:complexType> <xs:attribute name="startDate"/> <xs:attribute name="endDate"/> </xs:complexType> </xs:element>