GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The SGMLSetString function sets a specified string as the data to be parsed. The string will be mapped into a format with X and Y positions.
Syntax/Parameters
Syntax
int = SGMLSetString ( handle hSGML, string source );
Parameters
hSGML
A handle to an SGML object.
source
A string that contains ANSI or UTF-8 as the data to be parsed.
Return Value
A int as ERROR_NONE (0) or a formatted error code.
Remarks
SGMLSetString is an easy way to quickly add data and parse with the SGML Object. The string must contain data or an error will be returned.
The parse position is set to 0,0. All returned positions are set as x/y coordinates within the string. [Use the [] function to map to an absolute string position.]
If a DTD was specified during the creation of the SGML Object, it will be used. Otherwise, the DTD specified in the incoming source string will be used. If the source does not contain a DTD specification, the default DTD will be HTML 5.0 (DTD_DEFAULT_HTML_50).
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are 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 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.