Re: [xslt] Compiling stylesheets
- From: Bernhard Zwischenbrugger <bz datenkueche com>
- To: xslt gnome org
- Subject: Re: [xslt] Compiling stylesheets
- Date: Mon, 6 Aug 2001 15:09:18 +0200
On Monday 06 August 2001 14:26, you wrote:
> At 01:59 PM 8/6/01 +0200, Bernhard Zwischenbrugger wrote:
> >What to do with compiled stylesheets
> >==========================
> >A realy usefull thing would be to make a fastcgi modul
> >for apache from a single stylesheet.
> >To make the thing perfect, caching results is always a good thing.
>
> If using Perl is an option, you should have a look at AxKit. And/or use
> the underlying XML::LibXML and XML::LibXSLT modules. They allow just what
> you want in an Apache / mod_perl environment.
>
Thanks, but I don't like perl.
Why use a script language additional to xslt?
Wouldn't it be nice to have a very simple environment that provides:
http://example.cu/compiledXSLT.exe/path/to/test.xml?one=1&two=2
should do the same as:
xsltproc test.xsl /path/to/test.xml --param one '1' --param two '2'
an deliver the result to the client browser.
-------------------------------------------------
You can take a part of the URL as the path to the xml-file
using apache ForceType:
<location /compiledXSLT>
ForceType application/compiledXSLT.exe
</location>
--------------------------------------------------
Why do it this way?
==============
o Write complite WebApplicatoins in XSLT
o No need for an additional scripting languages
o Speed if it's possible to do this with fastcgi and caching
o protect the xslt-stylesheet source (if it's a comercial application)
--------------------
I have no idea if this is possible with libxslt, but XSLT is the
language I like. I hate it to mix it with Java, PHP, Perl, Pyton,....
Bernhard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]