I want to apply a specific constraint to an XML schema (in which I have very little experience).
I have an xsd:time type attribute:
<xsd:attribute name="hour" type="xsd:time" use="required"/>
I want to use a constraint so that XML is valid only after half an hour. For example, 10:00, 12:30, 15:30, 20:00 will be valid values ββfor the hour attribute, but 10:45, 11:12, 15:34, etc. Will not.
How can i achieve this? My search yielded nothing useful.
Thanks in advance.
source share