This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: URL decomposition - Some things are better done outside of XSL!


Jens Lautenbacher wrote:
[	23 lines to do what would take one line in almost any other language	]

Gawd! (no criticism Jens, I truly believe that's the XSL way to do it)

This is why I cheated and got a much cleverer language to decompose my
URLs and memo the bits _before_ the XSLT transform. (This weeks post -
Dans Special theory of Relativity)

I have an enormous concern for avoiding server hooks at all times (I
develop on three COMPLETELY different XSL transformers) but bending the
language into doing jobs like this is starting to look silly. And it
can't be efficient.

Use a hammer when you've got a nail, use a screwdriver when you've got a
bottle of vodka.

Find some non-xsl way of doing this, mate. XSL may be great, but it is
not a panacea.

.dan.

:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@es.co.nz      :  danm@web.co.nz    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]