Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

DTDEnumerateProperties Function

Overview

The DTDEnumerateProperties function returns a table of CSS property names and tokens for a specified DTD.

Syntax/Parameters

Syntax

string[] = DTDEnumerateProperties ( handle hDTD );

Parameters

hDTD

A handle to a DTD Object or an object employing a DTD.

Return Value

A string table containing the properties with names, token values and flags or an empty array on error. Use the GetLastError to retrieve a formatted error code.

Remarks

The table will contain a list of CSS property items with the following column key names:

  Key Name   Description  
  Property   Name of property. CSS properties are not case-sensitive.  
  PropertyToken   A string in hexadecimal form containing the token value.  
  Context   Context information. This is not used for CSS.  
  Flags   A string in hexadecimal form containing bitwise flags.  

 

The Flags parameter has the following standard meanings:

  Definition   Value   Description  
  CSS_SPEC_MASK   0x000F0000   Mask for flags specifying the origin of the item.  
  CSS_CSS2   0x00000000   From CSS 2 (or 1) W3C specification.  
  CSS_CSS3   0x00010000   From CSS 3 W3C specification.  
  CSS_MSO   0x00020000   Microsoft Office defined property. Not all properties are included.  
  CSS_MOZILLA   0x00030000   Mozilla defined property. Not all properties are included.  
  CSS_WEBKIT    0x00040000   WebKit defined property. Not all properties are included.  
  CSS_SEC    0x00050000   EDGAR/XBRL defined property. Not all properties are included.  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic