textContent

fnstring textContent(XmlElement elem)

Extracts the concatenated text content of an element.

Parameters

elemThe element whose text content to extract.

Returns

The text content as a string, or `""` if elem is null.