GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The HTMLSetDTD function sets the DTD for the writer and if a header is added, sets the DTD for the resulting document.
Syntax/Parameters
Syntax
int = HTMLSetDTD ( handle hObject, [dword type] );
Parameters
hObject
A handle to an HTML Writer Object.
type
A dword (or int) specifying the DTD code. The default is DTD_DEFAULT_HTML_50 or it is referenced from the source data. See SGMLSetHTMLDTD for a list of available DTDs.
Return Value
Returns an int as ERROR_NONE (0) or a formatted error code on failure. Use the GetLastError function to retrieve error information.
Remarks
This function should only be called once. If a DTD is not set, when the HTML header is written using the HTMLAddHead function, it will not contain a DTD. (Note that the DEFAULT designator simply means use the internal default DTD definition.)
When using the XML flag, the character encoding, and by default the character set, is set to UTF-8 and UNICODE. Both EDGAR modes do not set a DTD on the document.
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.