Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetPresentationLinks Function

Overview

The XBRLGetPresentationLinks function returns all presentation links present in the instance/taxonomy.

Syntax/Parameters

Syntax

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

Parameters

hXM

A handle to an XBRL Object containing instance information.

Return Value

Returns a string table of all presentation links 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  
           
  Position      
    position   Zero-based decimal string version of the position of the record.  
  Presentation Link:      
    id   The id attribute, if supplied.  
    role   The role format the presentation  
    title   The tittle attribute.  
    type   The type of presentation  
  Inter-record Links      
    f_loc_index   Zero-based decimal string version of the first position of the locator records.  
    f_arc_index   Zero-based decimal string version of the first position of the arc records.  
  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.  
    s_sx   Zero-based X position in source file.  
    s_sy   Zero-based Y position in source file.  
    ref_cnt   Number of link references.  
    pl_flags   A string as a hexadecimal value for the status of the entry.  

  

The XBRLGetPresentationLink function can be used to retrieve a specific record from the presentation link table.

Related Functions

Platform Support

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

Legato IDE, Legato Basic