Kaya 0.5.3 reference for ElementTreeData::EmptyTagMode

List of functions and data types in ElementTreeData

ElementTreeData::EmptyTagMode

Constructors

Usage

This data type is used by ElementTree::string and ElementTree::lazyPrint to control the printing of empty elements (i.e. elements that are defined as empty, not merely elements that happen to have no content).

Singleton or OpenAndClose are both usable in XML (Singleton is usually more readable). If you are using this module to generate HTML (or other non-XML-based markup languages) then ImpliedSingleton should be used. The following list shows how each displays an empty br element.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya