<?xml version="1.0" encoding="windows-1252"?>
<node id="143892" title="Re: Re: XSLT vs Templating, Part 2" created="2002-02-07 10:12:14" updated="2005-07-21 01:30:44">
<type id="11">
note</type>
<author id="53423">
Masem</author>
<data>
<field name="doctext">
I didn't realize this existed as well; however, I would suspect that in the DBI-&gt;XML-&gt;XSLT path, the choice of which parser or XSLT library that you use is going to have some, but not a significant impact on the overall speed, assuming that, as with LibXSLT and XML::Parser, there's a non-perl component.  As demonstrated by the two pure-perl routes, any significant processing of XML is going to need a boost by having pre-compiled code available for at least parsing the system.
&lt;P&gt;
However, I think I'll add the XML::XSLT case as well as skipping the DOM-&gt;string-&gt;DOM conversion that I do as [gellyfish] mentioned in reply to [Matts] response above, as additional tests, just for completeness.  (I could also probably improve the xslt sheet itself, for the row coloring code doesn't seem to be overly efficient).
&lt;P&gt;
I also understand that GNOME's LibXML (which XML::LibXML uses) is not fully complient with recent W3C specs, so that may be a notch against it, as I'd expect a fully complient library to be a bit more rigorous and thus more CPU demanding.
&lt;P&gt;
-----------------------------------------------------
&lt;BR&gt;
&lt;I&gt;
&lt;A HREF="http://mneylon.masemware.com/"&gt;Dr. Michael K. Neylon&lt;/A&gt; - &lt;a href="mailto:mneylon-pm@masemware.com"&gt;mneylon-pm@masemware.com&lt;/a&gt;
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
&lt;BR&gt;
&lt;FONT COLOR="#800000"&gt;&lt;I&gt;"I can see my house from here!"&lt;/I&gt;&lt;/FONT&gt;
&lt;BR&gt;
&lt;FONT COLOR="#808080"&gt;&lt;I&gt;It's not what you know, but knowing how to find it if you don't know that's important&lt;/I&gt;&lt;/FONT&gt;
&lt;/I&gt;</field>
<field name="root_node">
143791</field>
<field name="parent_node">
143886</field>
</data>
</node>
