GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The DTDGetProperties function returns an array of properties associated with a specified DTD.
Syntax/Parameters
Syntax
string[] = DTDGetProperties ( handle hDTD );
Parameters
hDTD
A handle to a DTD Object or an object employing a DTD.
Return Value
A string array containing the properties with the key names specifying the specific property or an empty array on error. Use the GetLastError to retrieve a formatted error code.
Remarks
The returned key name items are as follows:
Key Name | Description | |||
DTDTypeCode | DTD Type Code. Can be a standard well known DTD as defined at the beginning of this section or a custom code. | |||
DTDFlags | A string in hexadecimal form containing bitwise flags. | |||
RootElement | Root element of element tree. | |||
RequestedName | Requested DTD name. | . | ||
ActualName | Selected DTD name. | |||
SourceURI | Source URI for DTD. | |||
TopElement | Top level element (same as root, as specified in the DOCTYPE). | |||
Access | Access level, if specified in the DOCTYPE. | |||
DTDName | DTD Name in DOCTYPE. | |||
URL | URL as specified in DOCTYPE or xmlns. | |||
DocTypeCode | DOCTYPE code. | |||
DocTypeVersion | DOCTYPE version. | |||
HTMLTypeCode | Specifies the type for HTML as unknown, HTML or XHTML. | |||
HTMLSubTypeCode | Sub type code (i.e., strict, transitional). | |||
HTMLCase | A string in decimal form containing case mode. | |||
CSSCase | A string in decimal form containing case mode. | |||
XML | A string representing the XML wrapper (or header). | |||
XMLNS | Root namespace for XML. |
The text case properties for HTML tags (HTMLCase) and CSS (CSSCase) are:
DTD_CASE_UPPER 0 – Lower
DTD_CASE_LOWER 1 – Upper
DTD_CASE_INITIAL 2 – Initial Character
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.