<?xml version="1.0" encoding="windows-1252"?>
<node id="266033" title="(jeffa) Re: XSL/XML/Perl as a development process" created="2003-06-15 10:31:12" updated="2005-06-27 00:46:58">
<type id="11">
note</type>
<author id="18800">
jeffa</author>
<data>
<field name="doctext">
Nice post (but do we really need the CSS?). Question: why
is the XML file static? I myself have used static XML files before (if i need a new record, i add one by hand via vim), 
but in 'real world', that data is stored in a relation 
database. If you had used [cpan://XML::Generator::DBI], then 
i could see the point better, but having the "boss" handle 
the XML &lt;i&gt;file&lt;/i&gt; seems, wrong.
&lt;p&gt;
Also, i feel compelled to mention that unless you are
looking for platform independence, XML/XSLT just isn't as 
fun as a pure Perl templating solution, such as 
[cpan://HTML::Template] or [cpan://Template], IMHO.
I really think this would have been a better article if you
had included them as well. But effort++. :)
&lt;/p&gt;
Addendum: indeed, i really wish you had made this article
more general, as what you are describing is the
[google://model view control] "pattern".
&lt;p&gt;jeffa&lt;/p&gt;
&lt;font size=1&gt;
&lt;pre&gt;
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(&lt;a href="http://jeffa.perlmonk.org/tripdid.mp3"&gt;the triplet paradiddle with high-hat&lt;/a&gt;)
&lt;/pre&gt;&lt;/font&gt;</field>
<field name="root_node">
265998</field>
<field name="parent_node">
265998</field>
</data>
</node>
