Legato
Legato

GoFiler Script Reference

 

Legato v 1.3n

Application v 5.16a

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetFactsByPrefix Function

Overview

The XBRLGetFactsByPrefix function returns facts as filtered by the namespace prefix.

Syntax/Parameters

Syntax

string[][] = XBRLGetFactsByPrefix ( handle hXM, string prefix );

Parameters

hXM

A handle to an XBRL Object containing instance data.

prefix

 A string specifying the namespace prefix. 

Return Value

Returns a string table of fact properties or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

Each matching item is placed in the resulting table as a row with named columns for each fact. The column employs the key names specified at Section 11.17.8 Fact Functions.

If there are no matching items, an empty array is returned.

Related Functions

Platform Support

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

Legato IDE, Legato Basic