Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

SGMLNormalizeToCSS Function

Overview

The SGMLNormalizeToCSS function scans tag HTML attributes in the parse buffer and promotes them to CSS properties as appropriate. Note that this function requires an HTML DTD to be employed..

Syntax/Parameters

Syntax

int = SGMLNormalizeToCSS ( handle hSGML );

Parameters

hSGML

A handle to an SGML Object.

Return Value

An int as the count of errors removed or a formatted error code.

Remarks

This function operates principally with files in HTML and CSS format.

Only direct simple translations are performed such as ‘ALIGN’ to ‘text-align’. More complex operations such as table float left and right with ALIGN are not processed.

Related Functions

Platform Support

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

Legato IDE, Legato Basic