Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological   next       previous   Thread   next  

Re: [mod-xslt users] mod_xslt: fatal - no <?xml-stylesheet or <?modxslt-stylesheet found Carlo Contavalli
  • From: Carlo Contavalli <ccontavalli@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] mod_xslt: fatal - no <?xml-stylesheet or <?modxslt-stylesheet found
  • Date: Mon, 8 Nov 2004 21:47:48 +0100
  • References: <418BF25B.6000705@gurugeek.com>


  • 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

      Powered by Sympa