GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The DTDParseTagCase function parses the first section of an HTML or XML file to determine the document type information.
Syntax/Parameters
Syntax
int = DTDParseTagCase ( handle hMTO | string data );
Parameters
hMTO
A handle to a Mapped Text Object. Or,
data
A string containing HTML or XML.
Return Value
An int containing the returned case code or a formatted error code on failure. Use the GetLastError and GetLastErrorMessage to retrieve a formatted error code and additional information.
Remarks
The return value is the case of tags by observation via parsing. The first section of the data is scanned and the tags tested. The case codes with the SDK prefix SGML_GET_CASE_:
SGML_GET_CASE_UNKNOWN
SGML_GET_CASE_MIXED
SGML_GET_CASE_UPPER
SGML_GET_CASE_LOWER
The source can be any SGML type document (HTML/XML).
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.