GetText

Description

Obtains the text data that is contained within the current PBDOM_TEXT object.

Syntax

pbdom_text_name.GetText()

Argument

Description

pbdom_text_name

The name of a PBDOM_TEXT object


Return value

String.

The GetText method returns the textual content of the current PBDOM_TEXT object.

Examples

If you have the element <abc>MY TEXT</abc>, and you have a PBDOM_TEXT object to represent the text node "MY TEXT", then calling GetText on the PBDOM_TEXT object returns the string "MY TEXT".

See also

GetTextNormalize

GetTextTrim

SetText