In your eXtyles configuration, you may collect dates associated with the manuscript as part of the Document Information dialog. These dates will generally be incorporated directly into the article or book section metadata within the XML file on export.
However, dates associated with the publication process may also be included in the Word file to be rendered in print. Publishers may include dates associated with the manuscript history in a single paragraph or in separate paragraphs. eXtyles will automatically identify received, revised, updated, and accepted dates, as well as various dates associated with online posting and publication, and apply the appropriate attribute to the date in the XML file. All of this identification can be done without any special markup in the Word file. The key to this process is the consistent use of wording to identify each date.
This first example has three date paragraphs, all styled as "Document_Date":
Note that the JATS and NLM Book DTDs allow publication dates to be included within <pub-date> or <history> elements. If the former element is used, the type of date is specified by a pub-type attribute.
As can be seen from these examples, eXtyles automatically parses the date into day, month, and year elements. This process is most robust if months are spelled out as words or as abbreviations (both English and French month names are supported) and years are given as four digits. Dates given in the form XXXX-XX-XX (e.g. 2012-05-11) will be parsed as YYYY-MM-DD (i.e. 11th May not 5th November) (see the first example above). If months are given as digits (e.g. 12-08-2010 or 12-08-10), by default, eXtyles will identify the date as MM-DD-YY(YY) (i.e. U.S. date format; December 8th, 2010) and will warn that the date is ambiguous. It is possible to modify the export to omit the warning (if international date format is never encountered) or to treat the international date format [i.e. DD-MM-YY(YY)] as the default (see the Russian example above).
The character used to separate the various elements of the date is reasonably flexible: slashes, colons, hyphens, or periods all enable dates to parse correctly.
If particular dates are not available at the time that the XML is exported, eXtyles will allow either X (e.g. XX-XX-XXXX) or two or more Ys, Ms, and Ds (e.g. MM-DD-YYYY) as placeholders that can later be replaced in the XML once the date is known.