RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.CheckTextNode Method

Generates a DOM text node implementation if it does not yet exist.

Pascal
procedure CheckTextNode;
C++
__fastcall CheckTextNode();

Applications can't call this protected method. It is used internally to generate a DOM node implementation for text values. 

If the XML node is an element that has child nodes (other than a single DOM text node), CheckTextNode raises an exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!