Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

DTDEnumerateAttributes Function

Overview

The DTDEnumerateAttributes function returns a table of attribute names, tokens and properties for a specified DTD.

Syntax/Parameters

Syntax

string[][] = DTDEnumerateAttributes ( handle hDTD );

Parameters

hDTD

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

Return Value

A string table containing the element 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 attribute items with the following column key names:

  Key Name   Description  
  Element   Element name. If HTML, the value will be case-insensitive and is conventionally upper case. If XML, the value is case-sensitive.  
  ElementToken   A string in hexadecimal form containing the token value.  
  NS   If the element is associated with a namespace, this field will contain the namespace prefix.  
  NSToken   A string in hexadecimal form containing the namespace token value. If there is no associated namespace, the value will be zero.  
  Context   Context information.  
  Flags   A string in hexadecimal form containing bitwise flags.  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic