<cfprocessingdirective>

Suppresses extra white space and other output, produced by CFML within the tag's scope.

Usage

<cfprocessingdirective
    [executionlog=boolean]
    [pageencoding=string]
    [suppresswhitespace=boolean]
    [preservecase=boolean]
><!--- body --->[</cfprocessingdirective>]

This tag may have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
executionlog
(boolean, optional)

Boolean indicating whether to write execution log or not.

pageencoding
(string, optional)

A string literal; the character encoding to use to read the page. The value may be enclosed in single or double quotation marks, or none.

suppresswhitespace
(boolean, optional)

Boolean indicating whether to suppress the white space and other output generated by the CFML tags within the cfprocessingdirective block.

preservecase
(boolean, optional)

declare how variable keys defined by dot notation are handled. If set to false converts all struct keys defined with "dot notation" to upper case. Example: - sct.dotNotation --> keyname: "DOTNOTATION" - sct["bracketNotation"] --> keyname: "bracketNotation"

If set to true keep all struct keys defined with "dot notation" in original case (according to the "bracket notation"). Example: sct.dotNotation --> keyname: "dotNotation" sct["bracketNotation"] --> keyname: "bracketNotation"

Examples

There are currently no examples for this tag.