SaveContent

I capture the generated content from the body statements and save it into a variable

Component Signature

<bx:SaveContent variable=[string]
trim=[boolean]
append=[boolean] />

Attributes

Atrribute
Type
Required
Description
Default

variable

string

true

trim

boolean

false

false

append

boolean

false

false

Examples

Script Syntax

Run Example

bx:savecontent variable="myContent" {
	writeOutput( "Somecontent." );
}

Tag Syntax

<bx:savecontent variable="myContent">
<bx:output>Some content.</bx:output>
</bx:savecontent>

Last updated

Was this helpful?