Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetReferenceLocators Function

Overview

The XBRLGetReferenceLocators function returns reference locators present in the instance/taxonomy.

Syntax/Parameters

Syntax

string[][] = XBRLGetReferenceLocators ( handle hXM );

Parameters

hXM

A handle to an XBRL Object containing instance information.

Return Value

Returns a string table of the reference locators 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  
           
  Locator Record:      
    href   Reference URL for the concept this locator links to.  
    label   Reference to one or more reference arcs.  
  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   Position in source file.  
    o_sy   Position in source file.  
    ref_cnt   Number of arc references.  
    loc_flags   A string as a hexadecimal value for the status of the entry.  

 

If all locators are requested, there will be null records that delineate the break points in the list between reference links. the loc_flags column will have the XM_LOCATOR_NULL_RECORD bit set.

The f_reference key name on the reference link set contains the starting locator index for a specific reference.

Related Functions

Platform Support

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

Legato IDE, Legato Basic