Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

HTMLElementMerge Function

Overview

The HTMLElementMerge function merges the properties from the parsed element within the 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

HTMLElementMerge is called to merge the subsequent HTML tags. Each item is compared under the following rules:

1. If the current value is mixed, the incoming value is ignored.

2. If the value is not mixed, the current value is compared with the new value.

3. If they values are equal, the current value is not changed.

4. If the values are different, the current value is set to mixed.

An error condition is considered a value. Unless all values for a specific property are in error, the value will be mixed.

On applying the object to a mapped tag, mixed items are not altered. Default items are removed, other values are removed.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2026-07-20