Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetInstanceFormat Function

Overview

The XBRLGetInstanceFormat function returns a code specifying the instance/model format.

Syntax/Parameters

Syntax

string = XBRLGetInstanceFormat ( handle hXM );

Parameters

hXM

A handle to an XBRL Object.

Return Value

Returns a string as a code representing the type of instance loaded or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The response values are as follows:

  Response   Description/Comment  
  csv   A CSV XBRL instance has been loaded.  
  iXBRL   An XHTML file with iXBRL has been loaded.  
  json   A JSON XBRL instance has been loaded.  
  null   The model is empty.  
  taxonomy   Only a taxonomy has been loaded.  
  xml   A conventional XBRL instance has been loaded.  
  xtl   An XLT instance has been loaded.  

Related Functions

Platform Support

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

Legato IDE, Legato Basic