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. On Tue, 2003-09-16 at 10:12, Honza Pazdziora wrote: > Can't you store that piece of info in notes/pnotes and retrieve it in > later handler? My goal was not to need a second handler but take care of it at that point. I tried writing my own StyleChooser, but somehow all output always came out as 'printable' style. BTW, what are the perl symatics for adding a stylesheet and can this be done in any phase aside from PerlHandler? I.e. can it be done in PerlTransHandler? thanks, arne --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
