GetTextNormalize

Description

Returns the normalized text data contained in a PBDOM_ELEMENT object.

Syntax

pbdom_element_name.GetTextNormalize()

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object


Return value

String

Examples

The GetTextNormalize method is invoked for the abc element of the following XML:

<abc>     Root      Element      Data     <data>ABC Data </data> now with extra info     </abc>

The GetTextNormalize method returns the following string:

Root Element Data now with extra info

Usage

The text data returned includes any text data contained in PBDOM_CDATA objects. All surrounding whitespace characters are removed. Internal whitespace characters are normalized to a single space. The GetTextNormalize method returns an empty string if no text values exist for the PBDOM_ELEMENT object or if there are only whitespace characters.

See also

GetText

GetTextTrim

SetText