Preserve Whitespace Property

Short Name: PreserveWhitespace

Requires: Base Development System

Class: Document Properties

Sets whether a validating parser includes ignorable whitespaces as Text Nodes. It has no effect on non-validating parsers that always include non-markup text. The default is TRUE, which causes the parser to add ignorable whitespaces to the DOM tree as Text Nodes. If you set the property to FALSE, the parser discards all ignorable whitespace and does not add Text Nodes to the DOM tree.

Remarks

The following table lists the characteristics of this property.

Data type

Permissions Read/Write
Available in Run-Time Engine No
Available in Real-Time Operating System Yes