Xml.XMLIntf.IXMLNode.IsTextElement
Delphi
property IsTextElement: Boolean read GetIsTextElement;
C++
__property bool IsTextElement = {read=GetIsTextElement};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLNode |
Description
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.