XFA Specification
Chapter 15, Template Specification
Template Reference
656
The time element
A content element that describes a single unit of data content representing a time value.
<time
Properties:
id="xml-id"
name="xml-id"
use="cdata"
usehref="cdata"
>
...pcdata...
</time>
The time element is used within the following other elements:
desc exObject extras items proto value variables
XFA time values conform to a subset of [ISO-8601]. This element is intended to hold only the time portion
of an ISO-8601 date/time value, and any date information will be truncated. For instance, a time element
enclosing the value
20010326T0630
, meaning 6:30am on March 26th 2001, will truncate the date and
hold the value of
0630
, resulting in a value of 6:30am.
Content
This element may enclose time data which is a subset of [ISO-8601] as specified in
Canonical Format
Reference.
When no content is present, the content shall be interpreted as representing a null value, irrespective of
the value of the associtated
nullType
property in the data description.
The id property
A unique identifier that may be used to identify this element as a target.
The name property
An identifier that may be used to identify this element in script expressions.
The use property
Invokes another object in the same document as a prototype for this object. The content of this property is
either a SOM expression (which cannot start with '#') or a '#' character followed by an XML ID.
Starting with XFA 2.4 the object used as a prototype no longer needs to be the child of
proto
. Any object
of the appropriate class can be used as a prototype.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The usehref property
Invokes an external object as a prototype for this object. The content of this property is an URL, followed
by '#', followed by either an XML ID or by som(SOM_expr) where
SOM_expr
represents a SOM expression.
The XML ID or SOM expression is resolved in the context of the external document.