Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

HTMLHeaderGetDTDComponents Function

Overview

The HTMLHeaderGetDTDComponents function returns the DTD components from the DOCTYPE tag.

Syntax/Parameters

Syntax

string[] = HTMLHeaderGetDTDComponents ( handle hHeader );

Parameters

hHeader

A handle to an HTML Header Object.

Return Value

Returns a string array specifying the DTD components or an empty array on error. Use the GetLastError function to retrieve a formatted error code.

Remarks

The array key items are as follows:

  Name   Description  
  TopElement   Top or root element, if specified.  
  Access   Access level, normally ‘public’  
  Name   Name, if specified.  
  URL   URL, if specified.  
  TypeCode   DTD type code as hex in the form of 0x00000000.  
  HTMLVersion   HTML version in the format of xxx, such as 401 or 500.  
  HTMLType   HTML or XHTML.  
  HTMLSubType   HTML sub type for transitional or other modes, if supported.  
  HTMLCase   HTML case if known.  
  CSSCase   CSS case if known.  
  xmlPrefix   XML prefix code (?xml...).  
  xmlns   XML namespace, if specified.  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic