@0.1.0.0
@0.1.0.0.0
"name"
| @0.1.0.0.1
"age"
| @0.1.0.0.2
"weight"
| @0.1.0.0.3
| @0.1.0.0.4
| @0.1.0.0.5
It would be possible to tie each identifier to an anonymous subroutine:
my %dynamic_html = (
'@0.1.0.0.5' => sub { my $node = shift; $node->splice_content(0,1,'new text'}}
for pure Perl and pure HTML templating (ie, absolutely no foreign
elements in the HTML.
However, the problem would be that the mapping would have to change each time that the HTML changed the tree-numbering.
=head1 SEE ALSO
HTML::TreeBuilder, HTML::Seamstress.
=cut
|