Get time stamp of last modification.
The following construct(s) refer to this construct:
tf:getLastModified(documentNode $document) => dateTime
The function tf:getLastModified
is specific to Tamino. It
takes a document node as argument and returns the time stamp of its last
modification. The time zone used is the Coordinated Universal Time (UTC), which
is indicated by the letter "Z" at the end.
$document |
document node |
---|
For all patient records return patient names and the time stamps of
their last modification inside a new patients
element:
for $a in input() return <patients> { $a/patient/name/* } <lastChange>{ tf:getLastModified($a) }</lastChange> </patients>
A typical response looks like this: