EncodeTextNode (open)

Encode a textnode

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION EncodeTextNode(STRING text)

Parameters

STRING text

Text to encode

Return value

STRING

Encoded value

Description

Similar to EncodeValue, but only encodes '<', '>' and '&'. This suffices for text nodes UTF-8 XML documents