attributeEncode(data)

Tinderbox Icon


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()^


Possible relevant notes (via "Similar Notes" feature):

Up: Full Operator List
Previous: atan(argument)  Next: avg(group,value) 

A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : attributeEncode(data)

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox