complexType "DateTimeRepresentationBaseType"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<... |
|
|
= |
xs:NMTOKENS |
|
= |
xs:boolean |
|
= |
("Nominal" | "Ordinal" | "Interval" | "Ratio" | "Continuous") |
|
= |
xs:string |
|
|
> |
|
|
</...> |
Known Direct Subtypes (1):
-
All Direct / Indirect Based Elements (2):
-
Annotation
Structures the representation for any type of time format (including dates, etc.). Regardless of the format of the data the content may be treated as a date and or time and converted to ISO standard structure if sufficient information is supplied.
Type Derivation Tree
DateTimeRepresentationBaseType
|
XML Source (w/o annotations (5); see within schema source)
<xs:complexContent>
<xs:extension base="RepresentationType">
<xs:sequence>
<xs:element minOccurs="0" ref="DateFieldFormat"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Range"/>
</xs:sequence>
<xs:attribute name="regExp" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|
Attribute Detail (all declarations; defined within this component only; 1/4)
regExp
-
Type: |
xs:string, predefined |
Use: |
optional |
The regular expression allows for further description of the allowable content of the data.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="regExp" type="xs:string" use="optional"/>
|
Content Element Detail (all declarations; defined within this component only; 3/6)
-
Describes the format of the date field, in formats such as YYYY/MM or MM-DD-YY, etc. If this element is omitted, then the format is assumed to be the XML Schema format corresponding to the type attribute value.
Simple Content
XML Source (w/o annotations (1); see within schema source)
-
This is a standard XML date type code and supports the use of an external controlled vocabulary. Examples are date, dateTime, gYearMonth, gYear, and duration. The DDI Alliance has provided a controlled vocabulary (DateType) to support this element at http://www.ddialliance.org/controlled-vocabularies.
Simple Content
XML Source (w/o annotations (1); see within schema source)
-
Indicates the high and low values (endpoints) of a non-numeric scale. This can be expressed as a value that matches the DateTime format. Repeatable in order to express as set of non-continuous values.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Range"/>
|