Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dws (341)

  (email not shown publicly)

Journal of dws (341)

Tuesday April 01, 2003
06:59 PM

Pounding nails with a chainsaw

[ #11385 ]
It's not often that a technical book has me laughing so hard I spit coffee. While skimming the XSLT Cookbook this morning, I came across the recipe for calculating square roots using an XSLT template. That brought on the giggles, and the following recipe, for calculating logarithms, finished me off. I haven't seen anything that perverse since an article describing how to render polygons using SQL. Yes, it can be done, but... but...
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I use XSLT and Perl quite a bit and some time I do find it frustrating that I can't use Perl in the middle of s stylesheet, but have to do things in XSLT and naturally vice versa. I've not used the latest tricks in LibXSLT, but I think calling Perl subroutines from XSLT may solve a lot of my pain....

    Other than the obvious fact that you can so something in XSLT that you really shouldn't what did you think about the book overall? I have it in my shopping basket at Amazon, but I've not decided yet if I reall

    -- "It's not magic, it's work..."
    • I've only skimmed the book and read a dozen or so recipes carefully. It seems fairly well written, but does presuppose that the reader knows the theory of XSLT, and XPath in particular. There's nothing in the way of summary or tutorial. If you're already comfortable with the theory, this book will show you lots of nifty tricks and techniques. I'm not, and have set the book down until I can read up on the basics.