Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

HTMLIsHeadElement Function

Overview

The HTMLIsHeadElement function checks a specified token or the currently loaded element for being a heading type of element.

Syntax/Parameters

Syntax

boolean = HTMLIsHeadElement ( handle hObject | TOKEN token );

Parameters

hObject

A handle to an SGML Object. Or,

token

An TOKEN (or dword) specifying an HTML element token.

Return Value

A boolean value as non-zero for a match condition or FALSE on no match or failure. See HTML Element Testers for HTML_IS_ definitions of non-zero conditions. Use the GetLastError function to retrieve a formatted error code.

Remarks

The following elements are consider a HTML head tags (note that close tags for the document are also included):

DOCTYPE XML

HTML HEAD TITLE STYLE BODY LINK META

/HEAD /TITLE /STYLE /BODY /HTML

The CSS ‘display’ property is not inspected for this function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic