Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLGetTableDataSheet Function

Overview

The XBRLGetTableDataSheet function returns a handle to the associated Data Sheet object for a Table.

Syntax/Parameters

Syntax

handle = XBRLGetAbstracts ( 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 handle to a Data Sheet Object a null handle on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

The Data Sheet Object handle is owned by the XBRL model. Closing the handle will only release the local reference information and not close the data sheet.

The first row defines the column references by identifiers.

Once obtained, the Data Sheet Object handle can be used access and modified the fact data. Note that extended Data Sheet meta data, such as attributes, are not retained or used by the XBRL Model for xBRL-CSV.

The XBRLGetTableData function can be used to copy

Related Functions

Platform Support

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

Page revised 2026-07-20