Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLGetTableData Function

Overview

The XBRLGetTableData function returns the content of a CSV table as a raw two dimensional string table.

Syntax/Parameters

Syntax

string[][] = XBRLGetTableData ( handle hXM, string id | int index );

Parameters

hXM

A handle to an XBRL Model Object containing xBRL-CSV instance data.

id

A string containing a table identifier. The value is case-sensitive. Or,

index

A zero-based int value specifying the table to retrieve.

Return Value

Returns a string table containing the CSV entries of the specified table an empty array on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

The returned data is “as is” from the imported CSV companion file. Information is extracted from the associated Data Sheet Object. The handle to the Data Sheet Object can be retrieved using the XBRLGetTableDataSheet function.

Note that the first row contains the Column Identifiers. The returned string table does not contain any keyname information,

Depending on the size, the operation may take some time to complete.

Related Functions

Platform Support

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

Page revised 2026-07-20