Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

HTMLElementLoad Function

Overview

The HTMLElementLoad function clears the HTML Element Object and loads properties from a parsed element contained in SGML Object.

Syntax/Parameters

Syntax

int = HTMLElementLoad ( handle hHE );

Parameters

hHE

A handle specifying the HTML Element Object.

Return Value

An int as structured error code specifying the result of the operation. Use the GetLastError function to retrieve a formatted error code.

Remarks

HTMLElementLoad should be called to load the first HTML tag. It will reset all the class attribute and property values to implied and proceed to load any values from the SGML Object. The SGML Object is supplied when calling the HTMLElementCreateObject or can be the default internal object.

The SGML Object must contain a parse tag. Supported properties are added during the call. If the class is reapplied to a tag, it will only change the items that are supported. If a new tag is written or exported, only supported properties will be exported.

Any attribute/properties errors are accumulated and can be retrieved using the HTMLElementGetErrors function.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic

Page revised 2026-07-20