The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tree::Template::Declare::HTML_Element

SYNOPSIS

See Tree::Template::Declare.

SPECIFICITIES

This module will build trees using HTML::Element.

To create text nodes, you would be forced to say:

  node {
    name '~text';
    attribs text => 'some text';
  }

which is too cumbersone. You can instead use:

  text_node 'some text';

HTML::Element's deobjectify_text method will be called by finalize_tree before returning the tree object.

AUTHOR

Gianni Ceccarelli <dakkar@thenautilus.net>