XML.ignoreWhite
Availability
Flash Media Server 2.
Usage
my_xml.ignoreWhite
XML.prototype.ignoreWhite
Parameters
A Boolean value.
boolean
Description
Property; the default setting is
space are discarded during the parsing process. Text nodes with leading or trailing white
spaces are unaffected.
Usage 1: You can set the
following code:
my_xml.ignoreWhite = true;
Usage 2: You can set the default
following code:
XML.prototype.ignoreWhite = true;
Example
The following example loads an XML file with a text node that contains only white space; the
tag comprises 14 space characters. To run this example, create a text file named
foyer
flooring.xml, and copy the following tags into it:
<house>
<kitchen> ceramic tile </kitchen>
<bathroom> linoleum </bathroom>
<foyer>
</house>
. When set to
false
property for individual XML objects, as shown in the
ignoreWhite
ignoreWhite
</foyer>
, text nodes that contain only white
true
property for XML objects, as shown in the
XML class
187
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?