[Home] [By Thread] [By Date] [Recent Entries]

  • From: =?UNKNOWN?Q?Jos=E9?= Manuel Beas <jmbeas@t...>
  • To: XML-DEV <xml-dev@l...>
  • Date: Tue, 23 Jan 2001 10:18:22 +0100

Thanks Bob,


It's a hard work, I agree. But... is it possible to define:
----------
<xsd:simpleType name="day">
  <xsd:restriction base="xsd:number">
    <xsd:minInclusive value="1"/>
    <xsd:maxInclusive value="31"/>
  </xsd:restriction>
</xsd:simpleType>
----------

and define some kind of xsd:complexType as a "fussion" of day, month and
year, but restricting the maximum bound of those components to something
depending on the others (i.e., the max value of a day depends on the month
value).????

Best Regards,
--
José Manuel Beas (jmbeas@t...)
Software Engineer
TELENIUM, The New Millennium Telecom Company
Agustín de Foxá, 25, plta. 13
28036 MADRID
Tel. +34 91 315 85 62 (ext. 260)
Fax +34 91 315 63 37
http://www.telenium.es



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member