bleh... just took another look through the docs and noticed AxIgnoreStylePI.
sorry.

v shah

----- Original Message -----
From: "V Shah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 3:00 AM
Subject: newbie question regarding processors


> i want to be able to override the xml-stylesheet PI in an xml file
depending
> on the path used to access the file, e.g. i've setup apache aliases so
that
> http://site/path1/file.xml and http://site/path2/file.xml point to the
same
> file, but if path2 is used, use a different stylesheet to perform xsl
> transformation. AxAddURIProcessor, or AxAddProcessor within a Location
> directive seem to be what i want, but i can't seem to find the proper
usage.
> I've tried:
> AxResetProcessors
> AxAddURIProcessor text/xsl /index-special.xsl "path2/.*\.xml$"
>
> and
> <Location /path2>
>     AxResetProcessors
>     AxAddProcessor text/xsl /index-special.xsl
> </Location>
>
> but neither works - axkit always uses the stylesheet specified in the xml
> PI.  What am i missing?  Or am i barking up the wrong tree and these
> directives are not what i actually want?
>
> tia
> v shah
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to