Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

SGMLStringToProperty Function

Overview

The SGMLStringToProperty function takes a CSS property name and converts it to a token value.

Syntax/Parameters

Syntax

TOKEN = SGMLStringToProperty ( handle hSGML, string property );

Parameters

hSGML

A handle to an SGML object.

property

A string containing the name of the property 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 property name must exist in the default DTD specified for the SGML Object or the function will return zero (0) and ERROR_EOD will be set as the last error.

While not generally considered part of the DTD, CSS property names are carried with elements and attributes. All HTML DTD implementations contain the CSS property name definitions.

Related Functions

Platform Support

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

Legato IDE, Legato Basic