Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

SGMLGetEntryProperties Function

Overview

The SGMLGetEntryProperties function returns the properties for a specific parameter entry within an SGML Object in the form of a string array.

Syntax/Parameters

Syntax

string [] = SGMLGetEntryProperties ( handle hSGML, int index );

Parameters

hSGML

A handle to an SGML Object.

index

An int specifying the zero-based index position of the entry.

Return Value

A string array containing an entry for each property or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

If the property name cannot be translated, the value 0x1002 will be ORed bitwise with the error code.

Remarks

Each parameter within the SGML object will have the following named key items:

  Key Name   Description  
  parameter_token   A hexadecimal string representing the token value for the entry.  
  parameter   The parameter string as translated from the attribute or property token or as a raw string.  
  pvalue   A hexadecimal string representing the pvalue for the data associated with the entry.  
  namespace_token   A hexadecimal string representing the namespace token value for the entry.  
  namespace   The namespace as translated from the namespace token or as a raw string.  
  x_position   A decimal string presenting the character position to the parameter position within the incoming data. Any returns are counted as one space.  
  x_offset   A decimal string presenting the relative X offset to the parameter position within the incoming data.  
  y_offset   A decimal string presenting the relative Y offset to the parameter position within the incoming data.  
  flags   A hexadecimal string representing the flags for the entry.  

 

Related Functions

Platform Support

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

Legato IDE, Legato Basic