From RAD Studio API Documentation
Jump to: navigation, search


property IsTextElement: Boolean read GetIsTextElement;


__property bool IsTextElement = {read=GetIsTextElement};


Type Visibility Source Unit Parent
property public
Xml.XMLIntf IXMLNode


Indicates whether the node has a single text value.

Read IsTextElement to determine whether this node represents a single text value. For example, if the node represents the following:

<Title> Understanding XML </Title>

IsTextElement is true, because the node represents a tagged element and the text that is its value.

Note: In the underlying DOM implementation, nodes for which IsTextElement is true are element nodes that have a single child node that is a text node. IXMLNode flattens this out so that you can use the element node to work with the text value (through the Text property), rather than requiring you to use a separate node for the text value.

See Also