Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

XDXGetUnitProperties Function

Overview

The XDXGetUnitProperties function extracts the unit ID from a component or engram.

Syntax/Parameters

Syntax

string[] = XDXGetUnitProperties ( string data );

Parameters

data

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

Return Value

A string array containing a single element 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 unit component which describes part of an iXBRL unit.

XDX component formatting for this parameter are as follows:

uID

where:

IDAn identifier for the unit. This ID is also used for the final unit table as part of the XBRL instance.

Examples:

uPure

The returned data is in the form of an array to allow for later expansion of properties, if necessary.

This function is the reciprocal of XDXCreateUnitComponent.

Related Functions

Platform Support

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

Legato IDE, Legato Basic