| Operator Type: | Function |
| Operator Scope of Action: | Item |
| Operator Purpose: | Formatting |
attributeEncode(data)
From v5.8.0, this function encodes all instances in data of the following to numeric HTML entities (e.g. like ' '): left angle bracket, right angle bracket, ampersand, (straight) double quote, (straight) apostrophe, and line feed character (ASCII #10). This assists with OMPL work as paragraph breaks aren't allowed within XML attribute values.
Prior to this only paragraph breaks (line returns) were encoded.
An export code equivalent is ^opmlEncode()^
