Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

HTMLElementCreateObject Function

Overview

The HTMLElementCreateObject function creates an HTML Element Object for reading and updating HTML and CSS properties while optionally allows associating an SGML Object.

Syntax/Parameters

Syntax

handle = HTMLElementCreateObject ( [handle hSO] );

Parameters

hSO

An optional handle specifying the SGML Object to join to the the HTML Element Object.

Return Value

A handle to an HTML Element Object or NULL_HANDLE (0) on error. Use the GetLastError function to retrieve a formatted error code. Use the CloseHandle function to release the object.

Remarks

The SGML Object is used as the low level interface to access the HTML target document. It is also used to to translate properties and keywords from an HTML/CSS DTD. It is also used to load and create elements. Adding an optional SGML Object relates that object to the HTML Element, thus relieving the creation of a internal SGML Object.

On election of using the default SGML object, the internal object will be initialized as HTML 5. A handle to the associated SGML Object can be retrieved using the HTMLElementGetSGMLObject function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2026-07-20