GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Basic functions are provided to aid in HTML code testing, conformance and conversion.
A series of functions are provided to test HTML elements of being in a certain class of functionality. For example, it is sometimes desirable to test an element as being table or block level element. The testers operate on each a defined HTML token, such as HT_TABLE or HT_DIV (as defined in the built in definitions) or in some case with a CSS override using the display property.
The testers can be thought of as boolean returning FALSE or non-zero as true. However, the affirmative condition for most routines is specified as:
Definition | Value | Description | ||||
HTML_IS_FALSE | 0 | Does Not Match Element Type same as FALSE | ||||
HTML_IS_OPEN | 1 | Head Element is an Open Tag | ||||
HTML_IS_CLOSE | 2 | Head Element is an Close Tag | ||||
HTML_IS_SELF | 4 | Head Element is an Self Close Tag | ||||
HTML_IS_DOC_CLOSE | 5 | Element Document Close Tag |
HTMLIsBlockBasicElement — Tests an HTML element as being a basic block.
HTMLIsBlockElement — Tests an HTML element as being a block.
HTMLIsBodyContainerElement — Tests an HTML element as being a body container.
HTMLIsContainerElement — Tests an HTML element as being a container element.
HTMLIsField — Tests an HTML element as being an SGML field.
HTMLIsFieldBlock — Tests an HTML element as being an SGML field pseudo block element.
HTMLIsFieldInline — Tests an HTML element as being an SGML field pseudo inline element.
HTMLIsFlowContainerElement — Tests an HTML element as being a flow container.
HTMLIsFormControlElement — Tests an HTML element as being a form control.
HTMLIsHeadElement — Tests an HTML element as being a head element.
HTMLIsInlineElement — Tests an HTML element as being an inline element.
HTMLIsInlineStyleElement — Tests an HTML element as being an inline style element.
HTMLIsListContainer — Tests an HTML element as being a list container.
HTMLIsListItem — Tests an HTML element as being a list item.
HTMLIsRevisionElement — Tests an HTML element as being a revision element.
HTMLIsSelfContainedElement — Tests an HTML element as being a self-contained element.
HTMLIsTableElement — Tests an HTML element as being a table element.
HTMLIsTableFrameElement — Tests an HTML element as being a table frame.
HTMLConformCode — Conform code to specified DTD.
HTMLToXHTML — Converts HTML contents to XHTML.
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.