Is it possible to specify the date limit of MM-DD-YYYY in the XSD on the element we want to limit?
Yes maybe with regex
<xsd:simpleType name="Date"> <xsd:restriction base="xsd:string"> <xsd:pattern value="\d{2}-\d{2}-\d{4}"/> </xsd:restriction> </xsd:simpleType>
On the left, of course, you should also check the range. Perhaps you can extend the regex to accept only certain numbers.
Yes, with a pattern constraint for the string.
In a machine-readable format, I would recommend using an international standard (which is also your national ANSI X3.30 standard), which is expected to be widely supported and well known.
, , , , .
Source: https://habr.com/ru/post/1760191/More articles:Organization and color coding of the project and folders in Visual Studio 2010 - .netJQuery conditional click events - javascriptHow do you write a Wordpress function to put Span around the first word Title? - phpAdvanced Analytical Functions Guide in Oracle / SQLServer - sqlCassandra or Hadoop Hive or MYSQL? - mysqlHow to allow Android browser to download files of a certain extension? - androidCompute the union of a plurality of array of cells in Matlab - vectorizationZend Framework - additional router labels - phpHow to get Excel version and macro security level - excelVideo disables the phone - androidAll Articles