XFA Specification
Chapter 15, Template Specification
Template Reference
540
The float element
A content element that describes a single unit of data content representing a floating point value.
<float
Properties:
id="xml-id"
name="xml-id"
use="cdata"
usehref="cdata"
>
...pcdata...
</float>
The float element is used within the following other elements:
desc exObject extras items proto value variables
Note that the
decimal
element and the
float
element differ only in the user interface. They are
interchangeable in every other way.
Content
This element may enclose float-data which is an optional leading minus sign (Unicode character U+002D),
followed by a sequence of decimal digits (Unicode characters U+0030 - U+0039) separated by a single
period (Unicode character U+002E) as a decimal indicator.
To maximize the potential for data interchange, the decimal point is defined as '.' (Unicode character
U+002E). No thousands/grouping separator, or other formatting characters, are permitted in the data.
However, the template may employ a
picture clause
to generate a more suitable human-readable
presentation of the value.
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.
Home Index Bookmark Pages
Pages: Home Index All Pages