Subject: Re: [xsl] PHP integration with XSLT From: Alessio Mazzieri <mazzieri@xxxxxxxxxxx> Date: Wed, 07 Nov 2001 11:07:39 +0100 |
Ok, I've tried to specify the correct media type usingthis is a cocoon specific problem, possibly u may have to supply the correct media type with <xsl:output/> tag though, but in general i would suggest asking the nice folks over at cocoon.
I'm sure my XSLT produce a legal XML[HTML] output.there is also the problem that a mixed processing may generate invalid xml/xslt.
Ok, I've done this. But this approach to the problem cause two related substantial problems:one way of getting around this is to create a generic PHP handler that sends possibly a HTTP call to a url that cocoon parses and gets the xslt result then evals that code.
1. The client must request documents like xxxxx.php (then, the PHP script send the HTTP call to Cocoon, retrieve the transformed document and process the PHP result, including the generated file) and not like xxxxx .xml (that's the thing I want!) 2. The overall functionality and lightness of the transformation process is strongly degraded, because the entire process require 3/4 transformation of an original document...
I'm sure that other people have encountered the same problem... Thanx for your help.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] PHP integration with XSLT, cutlass | Thread | Re: [xsl] PHP integration with XSLT, dfour |
Re: [xsl] IE6 xml direct browsing, Oleg Tkachenko | Date | RE: [xsl] IE6 xml direct browsing, Bovone Stefano |
Month |