Hi, I&#39;ve coded up a small script to use Template::Declare to generate some XML code (it&#39;s actually XUL, to be more specific):<br><br>&nbsp;&nbsp;&nbsp; <a href="http://perlcabal.org/agent/xul/buttons.pl.txt">http://perlcabal.org/agent/xul/buttons.pl.txt
</a><br><br>The output file is<br><br>&nbsp;&nbsp;&nbsp; <a href="http://perlcabal.org/agent/xul/buttons.xul">http://perlcabal.org/agent/xul/buttons.xul</a><br><br>The script used to run buttons.pl.txt is<br><br>&nbsp;&nbsp;&nbsp; <a href="http://perlcabal.org/agent/xul/xulgen.pl.txt">
http://perlcabal.org/agent/xul/xulgen.pl.txt</a><br><br>It&#39;s a lot of fun. Essentially, I extended the tag set in Template::Declare::Tag by the following lines of code:<br><br><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; Template::Declare::Tags::</span><span style="font-family: courier new,monospace;">install_tag($_) for qw(</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window textbox hbox vbox radio radiogroup
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupbox spacer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; );</span><br><br>The tag list given above is by no means exhaustive. It&#39;s just an experiment. :)<br><br>Here&#39;s another trivial example:<br><br>&nbsp;&nbsp;&nbsp; <a href="http://perlcabal.org/agent/xul/findfile.xul">http://perlcabal.org/agent/xul/findfile.xul
</a><br>&nbsp;&nbsp;&nbsp; &lt;=<br>&nbsp;&nbsp;&nbsp; <a href="http://perlcabal.org/agent/xul/findfile.pl.txt">http://perlcabal.org/agent/xul/findfile.pl.txt</a><br><br>Enjoy!<br>agentz