Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6d

Application v 6.1b

  

 

Chapter FiveGeneral Functions (continued)

XMLParseIsDeclaration Function

Overview

The XMLParseIsDeclaration function tests the last item as being an XML declaration.

Syntax/Parameters

Syntax

boolean = XMLParseIsDeclaration ( 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 was a declaration. The function will return FALSE on failure. Use the GetLastError function to retrieve error information and IsError / IsNotError to test for an error.

Remarks

This function tests the item in the parse buffer as being a declaration. A XML declarations starts with a chevron and exclamation with a name after. For example: <!ENTITY ... >.

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