Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/
Classes:
|
Globals:
|
The methods in this subclass of XmlPrinter attempt to emit a document conformant to the HTML 4.01 syntax, with no extra whitespace added for visual formatting. The degree of correctness of the output depends on the data supplied in the event calls; no checks are done for conditions that would result in syntax errors, such as two attributes with the same name, "--" in a comment, etc.
stream must be a file-like object open for writing binary data. encoding specifies the encoding which is to be used for writing to the stream.
Extends the overridden method by writing boolean attributes in minimized form.
Extends the overridden method by adding support for the case when there is a publicId and no systemId, which is allowed in HTML but not in XML.
Differs from the overridden method in that an end tag is not generated for certain elements.
Differs from the overridden method by writing the tag with no "?" at the end.
Differs from the overridden method in that no XML declaration is written.
Extends the overridden method by disabling output escaping for the content of certain elements (SCRIPT and STYLE).
Extends the overridden method by disabling output escaping if in the content of certain elements like SCRIPT or STYLE.