XFA Specification
Chapter 16, Config Specification
Config Element Reference
707
The whitespace element
This option controls the processing of whitespace in character data in the XFA Data DOM.
<whitespace
Properties:
desc="cdata"
>
...pcdata...
</whitespace>
The whitespace element is used within the following other elements:
transform
This option applies only to nodes corresponding to elements with tags that match the value of the
ref
attribute of its enclosing
transform
element.
This option takes effect during the data-load phase.
For more information about this element, see
Extended Mapping Rules.
Content
The content must be one of the following:
preserve
All white space characters are preserved.
ltrim
Contiguous white space characters at the start (left) end of the character data are deleted.
normalize
Contiguous white space characters at both ends are trimmed as for
trim
, but in addition internal
contiguous groups of white space characters are replaced by single space characters.
rtrim
Contiguous white space characters at the end (right) of the character data are deleted.
trim
Contiguous white space characters at both ends of the character data are deleted, equivalent to a
combination of
ltrim
and
rtrim
.
White space characters in this context include space (U0020), tab (U0009), carriage return (U000D), and
line feed (U000A). This is the set of white space characters defined by [XML1.0].
The desc property
An attribute to hold human-readable metadata.
Home Index Bookmark Pages
Pages: Home Index All Pages