The attribute ed-when
marks the date or time when an element or its content was edited (added or modified)
The value of must always conform to an ISO date or dateTime pattern. See the section called “Dates and times”.
Along with @ed-who
, this forms the Edit Stamp pattern. See the section called “Edit Stamp”
This attribute is inheritable. See the section called “Attribute inheritability and priority”
Formal Definition
( dateTime date )
Defined at:
TAN-core.rng
Used by: ~ed-stamp
Caution | |
---|---|
Date attributes must be castable either as xs:dateTime or xs:date |
Caution | |
---|---|
Future dates are not permitted. |
Example 8.19. @ed-when
<head>
.........
<see-also relationship="model">
.........
</see-also>
<definitions ed-who="park" ed-when="2015-10-31">
<work>
.........
</work>
<div-type xml:id="l">
.........
</div-type>
<person xml:id="park">
.........
</person>
.........
</definitions>
<alter>
.........
</alter>
.........
</head>
Note | |
---|---|
Taken from ring-o-roses.eng.1987 |
Example 8.20. @ed-when
<definitions>
<morphology xml:id="penn" ed-when="2015-08-20-04:00" ed-who="park">
<IRI>tag:kalvesmaki.com,2014:tan-r-mor:eng:penn</IRI>
<name>Penn Treebank tag set</name>
<location href="../TAN-mor/eng.kalvesmaki.com%2C2014.2.xml" when-accessed="2015-11-03-05:00"/>
</morphology>
<lexicon xml:id="english">
.........
</lexicon>
.........
</definitions>
Note | |
---|---|
Taken from ring-o-roses.eng.1881.lm |
Example 8.21. @ed-when
<head>
.........
<comment when="2015-03-10" who="kalvesmaki">Codes developed as a synthesis of
ftp://ftp.cis.upenn.edu/pub/treebank/doc/tagguide.ps.gz and
http://www.comp.leeds.ac.uk/amalgam/tagsets/upenn.html</comment>
<definitions ed-when="2015-03-03" ed-who="kalvesmaki">
<person xml:id="kalvesmaki">
.........
</person>
<algorithm xml:id="xslt1">
.........
</algorithm>
<role xml:id="editor">
.........
</role>
.........
</definitions>
<resp roles="editor" who="kalvesmaki"/>
.........
</head>
Note | |
---|---|
Taken from eng.kalvesmaki.com,2014.2 |