TDomElement.GetTextWithDefault

Checks for and returns the text value of the only child node which must be a text node, returns Default when the element is nil.

Source

Dom.Element.pas (53)