Help for this page
SELECT id, name, xp, lat, long FROM monks ORDER BY lat LIMIT 25
Benchmark: timing 50 iterations of DBI and CGI, DBI and Print, DBI and + TT2, XML and TT2/Simple, XML and TT2/XPath, XML and XSLT... DBI and CGI: 5 wallclock secs ( 2.02 usr + 0.02 sys = 2.04 CPU) @ 2 +4.51/s (n=50) ... DBI and TT2 4.55/s 1220% 302% 122% -- -81% -98% DBI and CGI 24.5/s 7003% 2062% 1093% 438% -- -88% DBI and Print 200/s 57860% 17540% 9636% 4292% 716% --
XSLT Transform DBI --> XML -----------------> XHTML
CGI-->userinfo -----| | Data Pruning XSLT ... | V XHTML
#!/usr/bin/perl -w ... my $results = $stylesheet->transform( $source ); print $target $stylesheet->output_string( $results ); }
[% colorrow = 0 %] <html> ... </table> </body> </html>
[% USE xml = XML.Simple( results ) %] [% xml %] ... </table> </body> </html>
[% USE xpath= XML.XPath( results ) %] [% colorrow = 0 %] ... </table> </body> </html>
<xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> ... </xsl:template> </xsl:stylesheet>
www.com | www.net | www.org
No recent polls found