GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The DTDEnumerateElements function returns a table of element names and properties associated with a specified DTD.
Syntax/Parameters
Syntax
string[][] = DTDEnumerateElements ( handle hDTD );
Parameters
hDTD
A handle to a DTD Object or an object employing a DTD.
Return Value
A string table containing the element names, token values and flags or an empty array on error. Use the GetLastError to retrieve a formatted error code.
Remarks
The table will contain a list of element items with the following column key names:
Key Name | Description | |||
Element | Element name. If HTML, the value will be case-insensitive and is conventionally upper case. If XML, the value is case-sensitive. | |||
ElementToken | A string in hexadecimal form containing the token value. | |||
NS | If the element is associated with a namespace, this field will contain the namespace prefix. | |||
NSToken | A string in hexadecimal form containing the namespace token value. If there is no associated namespace, the value will be zero. | |||
Context | Context information. | |||
Flags | A string in hexadecimal form containing bitwise flags. |
The Flags parameter has the following standard meanings:
Definition | Value | Description | |||||
Origin: | |||||||
W3C_ELEMENT | 0x00000001 | Element is of W3C origin. | |||||
W3C_HTML_3 | 0x00000001 | HTML 3.x specification (or earlier). | |||||
W3C_HTML_4 | 0x00000003 | HTML 4.x specification. | |||||
W3C_HTML_5 | 0x00000005 | HTML 5.x specification. | |||||
Element Open/Close: | |||||||
EOC_CLOSE_MASK | 0x00000030 | Close Mask | |||||
EOC_MUST_CLOSE | 0x00000000 | Must Close (default) | |||||
EOC_OPTIONAL_CLOSE | 0x00000010 | Optional Close | |||||
EOC_NO_CLOSE | 0x00000020 | Element Does not Have Close | |||||
Element Child Content: | |||||||
ECC_REQUIRED_CONTENT | 0x00000100 | Content is Required (not <TR />) |
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.