Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetPresentationLocators Function

Overview

The XBRLGetPresentationLocators function returns presentation locators present in the instance/taxonomy for a specified presentation link or all defined presentation locators.

Syntax/Parameters

Syntax

string[][] = XBRLGetPresentationLocators ( handle hXM, [int link] );

Parameters

hXM

A handle to an XBRL Object containing instance information.

link

An optional int specifying the zero-based index of a presentation link.

Return Value

Returns a string table of the presentation 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 ID for the fact.  
    label   Reference to one or more 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 presentation links. the loc_flags column will have the XM_LOCATOR_NULL_RECORD bit set.

Related Functions

Platform Support

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

Legato IDE, Legato Basic