Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

XDXGetGroupingProperties Function

Overview

The XDXGetGroupingProperties function extracts the grouping data from a component or engram.

Syntax/Parameters

Syntax

string[] = XDXGetGroupingProperties ( string data );

Parameters

data

A string containing an engram or the precision component of an engram.

Return Value

A string array containing two elements or an empty array on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage for additional detail.

Remarks

This function disassembles an XDX grouping component which describes part of an iXBRL continuation. Any engram with this parameter has additional content that is tagged elsewhere in the document using the XDX_GROUPING_PART engram type.

XDX component formatting for this parameter are as follows:

gGroupOrder

where:

GroupAn identifier for the grouping that is only letters with the exception of L1, L2, or L3 are allowable. All engrams that use the same grouping identifier will be part of a single group.
 OrderAn optional order that describes the order of the parts of the continuation. If an order is not specified the order is assumed to be the order the engrams appear in the file.

Examples:

gL1

The contents of this engram are continued later as L1.

The returned value will be a two element array with the key names “id” and “order”, 0 and 1 respectively.

If the order is not present, the string value will be “-1”.

Related Functions

Platform Support

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

Legato IDE, Legato Basic