Subject: On loss of integrity with xsl:script... From: Guy_Murphy@xxxxxxxxxx Date: Tue, 11 May 1999 09:17:01 +0100 |
Hi. OK, I'll admit up front that I'm firing from the hip here, as I haven't followed up on the references Paul posted. So my comments here are at best half-baked (but that's never stopped me). I'm also *not* trying to reopen a Jihad on the inclusion of script tags in XSL, I just want to introduce a point for possible comment. I sort of understand the point around this whole "Turing complete" thing, that if XSL drifts with a loss of its declarative nature, then we also loose things like checking compatibility, and a loss of the granularity to which we can easily validate in general. However.... What we are seeing is an increasing number of functions being brought into XSL, and an increasing number of programatic rather than description mechanism. We seem to be facing a creep away from a descriptive language in order to cater for increased functionality, which although often marginal in its usage, is vital when needed. Paul seem to give at least a firm basis for concern that we might be loosing things in this process. If however, we had a script tag, that we could escape to for those marginal but essential tasks, might we not have exactly that, an escape. Something outside of XSL? In this way XSL could retain its "purity", and be implimented where needed in a robust, simple form, unadulterated, but still catering for expedience outside of the XSL language itself with the script tag. This would seem to give us a pure, lean, highly optimisable language, suitable for 90% of tasks, and a means for quick-and-dirty hacking for when we just don't care. It would also seem to cater for the two ends of usage.... Task in the corporate sector like batch transformation of large data sets, where optomisation is crucial. Sticking to pure XSLT. And the K-Rad website where the designer just don't give a shit as long as it looks cool, sings, dances and has flashing lights. Resorting to hacked scripted functions etc. Doesn't need to be optimal (as it's a small data set), just pull all sorts of funky tricks. Personaly I find myself playing both roles in my working life, so I'm merely expressing how I might like to use XSL. There are times when I want XSL to be highly optomised, and times when it doesn't matter. As things are drifting, I'm not going to get either end of the stick, but a luke warm compromise in the middle. Cheers Guy. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [Fwd: Re: Language is not marku, Kay Michael | Thread | Re: On loss of integrity with xsl:s, David Carlisle |
Re: Bogus Patent?, Guy_Murphy | Date | Re: xsl macros and cocoon??, Emmanuel.Leguy |
Month |