Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

HTMLElementEnumerateItems Function

Overview

The HTMLElementEnumerateItems function enumerates all the data items within an HTML Element Object.

Syntax/Parameters

Syntax

string[][] = HTMLElementEnumerateItems ( handle hHE, [dword options] );

Parameters

hHE

A handle specifying the HTML Element Object.

options

An optional dword specifying the type of items to return. The default is no options, see Remarks.

Return Value

A string table containing property names and values or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The HTMLElementEnumerateItems function will return all the supported items loaded or merged into an HTML Element Object. Optionally, enumeration can be restricted to only HTML or CSS properties, implied or unsupported items.

The returned table has two columns, “Name” and “Value”, index position 0 and 1 respectively.

Option bits are as follows:

  Definition   Bitwise   Description  
  HE_EI_CSS_ONLY   0x00000001   Add Only CSS Items  
  HE_EI_HTML_ONLY   0x00000002   Add Only HTML Items  
  HE_EI_IMPLIED   0x00000010   Add Implied Items  
  HE_EI_UNSUPPORTED   0x00000020   Add Unsupported Items  

 

HTML attribute names are all upper-case while CSS property names are lower-case.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2026-07-20