Am Di, 2003-09-16 um 19.01 schrieb Arne Claassen: > I'm trying to create a behavior and tried with both with a > PerlTransHandler and PerlTypeHandler without success, so i figured, I'd > ask for help. > > Basically, xml/xslt output on my system generates html, so here's what > i'm trying to do: > > 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#
> 3) If it comes in at *.html, check for *.xsl and attach that as > stylesheet, otherwise check for default.xsl and attach that as > stylesheet. This also has to happen in the URI phase since post > that i don't know that it came in as *.html. That part i can't get > to happen > > Any suggestion, or is there already a facility similar to this behavior > i should instead exploit? > > arne > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
