![]() ![]() |
GoFiler Legato Script Reference
Legato v 1.6d Application v 6.1b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The XMLParseGetSpace function returns any leading space associated with the last parse action.
Syntax/Parameters
Syntax
string = XMLParseGetSpace ( handle hXPO );
Parameters
hXPO
A handle specifying an XML Parse Object.
Return Value
Returns a string containing the space characters preceding the last parsed item or an empty string on failure. Use the GetLastError function to retrieve error information.
Remarks
Spaces count as word spaces (0x20), tabs (0x09), line feeds (0x0A) and returns (0x0D). Unless within CDATA or a preformatted area, normally all white space between items is treated as a single word space. The XMLParseHasLeadingSpace can be used to determine if there is space, or this function can be used as tested for non-zero.
Note that spaces do not count as part of an item’s position. The only way to determine the space position is to track the ending position of the previously parsed item and then capture the start position of the current item.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Page revised 2025-08-15
Table of Contents | < < Previous | Next >> |
© 2012-2025 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission is prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. Novaworks, GoFiler™ and Legato™ are registered trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are the property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.