Coupl'a comments... do you really want anyone to be able to view your raw XML???

Anyway, I think you could use vanilla apache redirect statements to do what you want, combined with the axkit handler that gives you different output based on the ? URI parameters.

simon

On Tuesday, September 16, 2003, at 01:01 PM, Arne Claassen wrote:

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)
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



-- www.simonwoodside.com :: www.openict.net :: www.semacode.org 99% Devil, 1% Angel


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



Reply via email to