EncodeAttributeValue (open)

Encode an attributenode

Syntax

// Core function, no LOADLIB necessary

STRING FUNCTION EncodeAttributeValue(STRING text)

Parameters

STRING text

Text to encode

Return value

STRING

Encoded value

Description

Similar to EncodeValue, but only encodes '"', "'" and '&'. This suffices for attribute values in UTF-8 XML documents