XML.ignoreWhite

Availability

Flash Player 5.

Usage

my_xml.ignoreWhite = boolean
XML.prototype.ignoreWhite = boolean

Parameters

boolean A Boolean (true or false) value.

Description

Property; default setting is false. When set to true, text nodes that contain only white space are discarded during the parsing process. Text nodes with leading or trailing white space are unaffected.

Usage 1: You can set the ignoreWhite property for individual XML objects, as in the following code:

my_xml.ignoreWhite = true

Usage 2: You can set the default ignoreWhite property for XML objects, as in the following code:

XML.prototype.ignoreWhite = true