Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6d

Application v 6.1b

  

 

Chapter FiveGeneral Functions (continued)

XMLParseSkippedComments Function

Overview

The XMLParseSkippedComments function tests to see if an XML comment preceded the last item parsed.

Syntax/Parameters

Syntax

boolean = XMLParseSkippedComments ( handle hXPO );

Parameters

hXPO

handle specifying an XML Parse Object.

Return Value

Returns a boolean value as TRUE or FALSE as to whether the last item parsed had one or more comments preceding the item returned. The function will return FALSE on failure. Use the GetLastError function to retrieve error information and IsError / IsNotError to test for an error.

Remarks

By default as the XMLParseGetItem runs, it will skip not only preceding spaces but also comments, If a one or more comments were skipped, this function will return TRUE.

It is not impacted by the raw parameter on XMLParseGetItem function.

Related Functions

Platform Support

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

Page revised 2025-08-15