XML Tutorial/XML Schema/dateTime — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:26, 26 мая 2010
The dateTime data type represents a specific time and date
<source lang="xml">
<xsd:element name="time_of_birth">
<xsd:simpleType> <xsd:restriction base="xsd:dateTime"> <xsd:enumeration value="1950-06-25T04:15:00"/> <xsd:enumeration value="1988-12-14T21:30:05"/> </xsd:restriction> </xsd:simpleType>
</xsd:element>
<time_of_birth>1950-06-25T04:15:00</time_of_birth></source>