XML Tutorial/XML Schema/gYear — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:26, 26 мая 2010
The gYear datatype represents a Gregorian year
<source lang="xml">
<xsd:element name="interval">
<xsd:simpleType> <xsd:restriction base="xsd:gYear"> <xsd:minInclusive value="1776"/> <xsd:maxInclusive value="1976"/> </xsd:restriction> </xsd:simpleType>
</xsd:element>
<interval>1842</interval></source>