=head1 NAME Message::Markup::XML::Serialize::HTML - HTML Serializer =head1 DESCRIPTION C provides a function that serizlizes a node (C object) as a (fragment of) HTML document. This module is part of manakai. =cut package Message::Markup::XML::Serialize::HTML; use strict; our $VERSION = do{my @r=(q$Revision: 1.2 $=~/\d+/g);sprintf "%d."."%02d" x $#r,@r}; =head1 METHODS =over 4 =item $html = Message::Markup::XML::Serizlize::HTML::html_simple ($node, [%option]) Serialize C<$node> as an HTML tree and return it. This serializer does not check: =over 2 =item whether element type names, attribute names, attribute values or entity names are valid as HTML =item XML namespace to which C<$node> belongs =item whether C<$node> occurs in valid context =item uniqueness of attribute name =back And this serializer does not output processing instructions whose first three characters is 'xml'. It neither does output any markup declaration (except comment declaration), including DOCTYPE declaration. Marked section is not implemented and its content is barely included as regular data. This serializer does not output end tag for some element types, such as C or C. Element types C