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] problems running mod_xslt Carlo Contavalli
  • From: Carlo Contavalli <ccontavalli@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] problems running mod_xslt
  • Date: Sun, 14 Nov 2004 13:16:15 +0100
  • References: <d7cee4a704111121323d6ab259@mail.gmail.com>


  • On Thu, Nov 11, 2004 at 09:32:36PM -0800, Adam Souzis wrote:
    > * If I use XSLTSetStylesheet the default stylesheet is always invoked
    > regardless of whether the requested xml file has a <?xml-stylesheet>
    > PI or not.
    ok, you're right. It is a bug in the documentation. I'm in the process
    to release a new mod-xslt snapshoot (soon to be 1.3.8). I've added
    the XSLTDefaultStylesheet option, but it's just in TLA, and corrected
    the documentation...

    > * I can't get XSLTAddRule to take effect regardless of whether the xml
    > file has the stylesheet PI or not. What I want to do is invoke the
    > stylesheet specified in the URL but this has no effect:
    > XSLTAddRule "$GET[stylesheet].xsl" "$GET[stylesheet]"
    > given an URL like foo.xml?stylesheet=mysheet
    strange. This should work without problems. I'll try to get a better
    look to that code.

    > Is there any way to log how mod-xslt is trying to figure out which
    > stylesheets to apply?
    actually, you can just do that with --enable-debug option to configure.
    But then the log becomes _really_ verbose.

    > 1. gentoo places apxs2 in /usr/sbin but the APXS1 and APXS2 variables
    > doesn't include sbin
    Ok, corrected on the TLA version.

    > 2. even though Gentoo's default /etc/ld.so.conf includes
    > /usr/local/lib apache could not find libmodxslt.so.0 (running
    > configure --prefix=/usr fixes this)
    uhm ... this is already in the FAQ, but I really don't know
    how to solve it.

    > 3. I had to change the reference to ap_table_elts in
    > sapi/apache2/modxslt-helpers.c to apr_table_elts -- without that
    > change i get this error when I try to start apache:
    > "Cannot load /usr/lib/apache2/modules/mod_xslt.so into server:
    > undefined symbol: ap_table_elts"
    Yes, this was a dumb typo of mine. It is also corrected in the
    TLA archive.

    > And while I'm writing this, let me ask if there are plans to implement
    > caching?
    Yes. I plan to release 1.3.8 in a couple days, then 1.3.9 in a month or so
    and finally 1.4.0, with cacheing. It will have 3 cacheing levels:
    1 - for parsed xml files
    2 - for parsed xslt stylesheets
    3 - for the final result
    I'm currently already working on it.

    Cheers,
    Carlo

    --
    GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
    -------------
    If money can't buy happiness, I guess you'll just have to rent it.

      Powered by Sympa