Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

SGMLStringToElement Function

Overview

The SGMLStringToElement function takes an element name and converts it to a token value.

Syntax/Parameters

Syntax

TOKEN = SGMLStringToElement ( handle hSGML, string element );

Parameters

hSGML

A handle to an SGML Object.

element

A string containing the name of the element to translate. The content may be tested for case depending on the DTD settings.

Return Value

A TOKEN (dword) containing the token value or zero (0) on error. Use the GetLastError function to retrieve a formatted error code.

Remarks

The element name must exist in the default namespace for the DTD specified for the SGML Object or the function will return zero (0) and ERROR_EOD will be set as the last error.

Related Functions

Platform Support

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

Legato IDE, Legato Basic