On Fri, Nov 05, 2004 at 02:36:27PM -0700, Jeff Rodriguez wrote:
> Some of my XML pages don't have stylesheets, I don't want have a bunch of
> off-by-one directives in apache for these files. Is there a way to just let
> the raw xml through?
Uhm ... right now, I can see only 2 solutions:
1 - put all your xml files that need not to be parsed by
mod-xslt in a given directory, and then use a
<Directory> directive to disable mod-xslt for that
diretory.
2 - in the .xml file, use a <?modxslt-styleshee Processing
instruction specifying no href attribute (take a look
to the manual for more info).
I've added to the TODO the addition of a new mod-xslt parameter,
something like:
XSLTPolicy <display|error>
To allow users to decide what to do in case no <?xml stylesheet
is provided.
Bye,
Carlo
--
GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
-------------
Whatever is not nailed down is mine. Whatever I can pry up is not nailed
down.
-- Collis P. Huntingdon, railroad tycoon