On 16 Sep 2003, at 19:11, Arne Claassen wrote:

On Tue, 2003-09-16 at 10:59, Tom Schindl wrote:
1) *.html gets translated to *.xml (can do that in the URI phase)
2) *.xml won't have a stylesheet, so direct access to *.xml just
   returns raw XML (lovely for debugging, especially with the XML
   modes of mozilla and IE)
Couldn't you use the
http://axkit.org/wiki/view/AxKit/Apache::AxKit::Plugin::Passthru#

Passthru appears to just change the mime-type, because i get the full
rendered HTML. Aside, even if it did try to pass the raw XML, mozilla
will combine XSL and XML on its own when XML references a stylesheet,
hence the need to not add the stylesheet until I actually want the
rendered output. And then it still doesn't address the URI change, which
admittedly is just a stylistic nicety.

Don't use <?xml-stylesheet?> - if you do that you have no control over the sort of things you want to do.


Instead use AxAdd*Processor directives. This will do what you want.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to