in reply to Re: HTML::Template Question / Confusion
in thread HTML::Template Question / Confusion

Question? How well does XSLT handle complex logic? I myself have been dabbling in the arts of XML/XSLT transformation, and it just seems:
  1. too slow (i anticiapte faster processing the future however)
  2. possibly incapable of handling very complex decisions (for example, lot's of nested if-else conditions and loops)
  3. only good when you need to transform XML to more than just HTML
I have done quite a bit with XSLT, but nothing that involved complex decision trees. I am curious as to which is really the "cleanest way." (and so far ... i still don't get why TemplateToolkit is as popular as it is.)

jeffa

"PERL" ne "Perl"
  • Comment on (jeffa) 2Re: HTML::Template Question / Confusion

Replies are listed 'Best First'.
Re: (jeffa) 2Re: HTML::Template Question / Confusion
by CountZero (Bishop) on Jan 13, 2003 at 22:05 UTC

    I have used XML and XSLT to present some insurance statistics. A PERL-script collects the statistical data out of the database and sends it out as XML. It then gets transformed to HTML in nice tables and graphs, sums and ratios are calculated, ... all by XSLT. I now rarely have to change the PERL-scripts and can do most of the work through the XSLT-scripts.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law