Hi,
I'm not very familiar with Apache developement, is it possible to use Apache
SetEnv and in case of PHP apache_setenv() to define XSLT template?
Boyan
----- Original Message -----
From: "Alexander Belyaev" <bav@xxxxxxxxxx>
To: <dev@xxxxxxxxxxxxxxxx>
Sent: Sunday, October 03, 2004 8:56 AM
Subject: Re: [mod-xslt dev] About deeper integration with php...
>
> > On Thu, Sep 30, 2004 at 01:58:30PM +0200, bav@xxxxxxxxxx wrote:
> > > May be good idea adding functions to php like
> > > set_result_document(resource #domdocument)
> > > set_result_stylesheet(string stylesheetfile)
> > I need to think a bit about this. This would introduce functions
> > in php to talk to mod_xslt, not quite easy to do, considered the
> > current architecture (right now, php and mod_xslt communicate
> > just thx to the apache api and some sort of ``pipe'').
> >
>
> Many "advanced" php web programmers would say "thank you" for this.
> Most goot template system is XSLT. We use xslt as template system 3 years
> and
> we have a strong problems - lack support for xslt in php4, domxml & xslt
> extensions
> typically ignored by hosters..
>
> > > and after all mod_xslt will apply stylesheet to "stylesheetfile" to
> resulting document...
> > >
> > > This algorithm can improve speed for us.
> > yes, since mod_xslt would directly use the xml tree, instead of having
> > to parse a whole new document.
> >
> > > (stylesheets are persistant upon apache requests and ca?hed in memory
in
> your module, I am right?)
> > Not now. Right now, no cacheing is performed yet. It is going to be
> > introduced in a very short time in the apache2 multithreaded interfaces
> > and into the proxy sapi. This is due to problems in the libxml API to
> > store whole trees in a different (and shared among threads/processes)
> > memory area.
> >
> > Cheers,
> > Carlo
> >
> > --
> > GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
> > -------------
> > "...[Linux's] capacity to talk via any medium except smoke signals."
> > (By Dr. Greg Wettstein, Roger Maris Cancer Center)
>