Gianni Ceccarelli > Tree-Template-Declare-0.5 > Tree::Template::Declare::HTML_Element

Download:
Tree-Template-Declare-0.5.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.5   Source  

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>

syntax highlighting: