Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XDXCreateElementComponent Function

Overview

The XDXCreateElementComponent function processes a concept, QName or a prefix and local name into an engram element property value.

Syntax/Parameters

Syntax

string = XDXCreateElementComponent ( string qname );

string = XDXCreateElementComponent ( string prefix, string localname );

string = XDXCreateElementComponent ( string concept );

Parameters

qname

A string as a qualified name in the form of prefix:localname.

prefix

When using both a prefix and a localname, a string value as the prefix to the QName without a color character.

localname

When using both a prefix and a localname, a string value as the localname to the QName without a color character.

concept

A string as a unqualified localname without a prefix.

Return Value

A string containing the adjusted name to be used as a property in an engram or empty on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage for additional detail.

Remarks

The character syntax of the items must be correct. Each item and the result are limited to 4,096 characters.

The reciprocal function is XDXGetElement.

Related Functions

Platform Support

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

Legato IDE, Legato Basic