For the complete documentation index, see llms.txt. This page is also available as Markdown.

XML

Any text output in the body of this component will be parsed into an XML document and stored in the specified variable.

Component Signature

<bx:XML variable=[string] />

Attributes

Atrribute
Type
Required
Description
Default

variable

string

true

The variable in which to store the XML document

Examples

Script Syntax

Creates a new BL XML document object.

Run Example

bx:xml variable="myXml" {
	writeOutput( "<?xml version=""1.0""?><catalog><song id=""1""><artist>Astley, Rick</artist><title>Never Gonna Give You Up</title></song></catalog>" );
}
writeDump( myXml );

Last updated

Was this helpful?