Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

DTDGetProperties Function

Overview

The DTDGetProperties function returns an array of properties associated with a specified DTD.

Syntax/Parameters

Syntax

string[] = DTDGetProperties ( handle hDTD );

Parameters

hDTD

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

Return Value

A string array containing the properties with the key names specifying the specific property or an empty array on error. Use the GetLastError to retrieve a formatted error code.

Remarks

The returned key name items are as follows: 

  Key Name   Description  
  DTDTypeCode   DTD Type Code. Can be a standard well known DTD as defined at the beginning of this section or a custom code.  
  DTDFlags    A string in hexadecimal form containing bitwise flags.  
  RootElement   Root element of element tree.  
  RequestedName   Requested DTD name. .
  ActualName   Selected DTD name.  
  SourceURI   Source URI for DTD.  
  TopElement   Top level element (same as root, as specified in the DOCTYPE).  
  Access   Access level, if specified in the DOCTYPE.  
  DTDName    DTD Name in DOCTYPE.  
  URL   URL as specified in DOCTYPE or xmlns.  
  DocTypeCode    DOCTYPE code.  
  DocTypeVersion    DOCTYPE version.  
  HTMLTypeCode    Specifies the type for HTML as unknown, HTML or XHTML.  
  HTMLSubTypeCode    Sub type code (i.e., strict, transitional).  
  HTMLCase   A string in decimal form containing case mode.  
  CSSCase   A string in decimal form containing case mode.  
  XML   A string representing the XML wrapper (or header).  
  XMLNS   Root namespace for XML.  

 

The text case properties for HTML tags (HTMLCase) and CSS (CSSCase) are:

DTD_CASE_UPPER     0 – Lower

DTD_CASE_LOWER     1 – Upper

DTD_CASE_INITIAL   2 – Initial Character

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic