Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetReferenceData Function

Overview

The XBRLGetReferenceData function returns reference information associated with an reference item.

Syntax/Parameters

Syntax

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

Parameters

hXM

A handle to an XBRL Object containing taxonomy or instance information.

index

A string or an int specifying the zero-based index to start enumerating data.

Return Value

Returns a string table of the reference data associated with a reference item or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The column key names are as follows: 

  Key Name   Description/Comment  
           
  Data Record:      
    tag   The tag name (opening tag item) in the reference entry.  
    content   The content of the entry.  
  Control      
    s_dx   Source file DTS index. String is “-1” if not from the DTS.  
    s_lx   Source file linkbase index. String is “-1” if not from the Linkbase List.  
    o_sx   Zero-based X position in source file.  
    o_sy   Zero-based Y position in source file.  
    rd_flags   A string as a hexadecimal value for the status of the entry.  

 

The value of f_data_index key points to the first reference data item,.

Related Functions

Platform Support

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

Legato IDE, Legato Basic