Skip to main content

Home > blockly > Xml > domToVariables

Xml.domToVariables() function

Decode an XML list of variables and add the variables to the workspace.

Signature:

export declare function domToVariables(xmlVariables: Element, workspace: Workspace): void;

Parameters

ParameterTypeDescription
xmlVariablesElementList of XML variable elements.
workspaceWorkspaceThe workspace to which the variable should be added.

Returns:

void