Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

DTDEnumerateNamespaces Function

Overview

The DTDEnumerateNamespaces function returns a table of namespace names and tokens for a specified DTD.

Syntax/Parameters

Syntax

string[] = DTDEnumerateNamespaces ( handle hDTD );

Parameters

hDTD

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

Return Value

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

  Key Name   Description  
  Namespace   Prefix for a namespace.  
  NamespaceToken   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 returned values are the tokens and namespace prefixes associated with specific namespaces. The DTDGetNamespaces function returns a list of prefixes and associated URLs.

Related Functions

Platform Support

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

Legato IDE, Legato Basic