Subject: Re: [xsl] Newbie question on XSL transformations: multiple sorts on element attr From: Marco <spinmar@xxxxxxxxx> Date: Thu, 08 Feb 2007 14:24:17 +0100 |
Marco wrote:I don't think so.
Because I'm trying to obtain best performance in the business logic and separate logic from presentation.
For example if my business logic takes 300 msec and my xslt trasform takes 30 msec, I'm happy because even if xslt trasform takes 10% I have separated data from presentation. The same logic in perl takes 600 msec, and xslt trasform takes always 30 msec or similar and so on.
So I'd like to use saxon in c because it offers xslt2 support but in the same way I'd like to continue to use c because my business logic is faster.
This my modest opinion.
Do you make provision for porting saxon in c?
..... but since .NET and Java together cover close to 99% of the operating systems, .........
The stylesheets are already compiled.
And like you say above: if your business logic take 300 msec and your xslt transform takes 30 msec, there is nothing more you need to do. Make sure you cache the compiled stylesheets, that will save you a lot of overhead.
Original "xslt trasform takes always 30 msec or similar": it means the xslt transform takes one time 30 msec, one time 28msec, one time 34 msec, and so on.
I have no idea why you think "xslt transform always takes 30 msec", ......
Why?
Perl is, like XSLT an interpreted language. Perl will be much faster in many respects, in other respects, XSLT will be. C will only be faster in cases where you optimize as much, but you will loose your flexibility. If you use C for your transformations, you do not need XSLT.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Newbie question on XSL tr, Abel Braaksma | Thread | Re: [xsl] Newbie question on XSL tr, Colin Adams |
Re: [xsl] Newbie question on XSL tr, Marco | Date | Re: [xsl] Newbie question on XSL tr, Colin Adams |
Month |