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  

problems running mod_xslt Adam Souzis
  • From: Adam Souzis <adamsz@xxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: problems running mod_xslt
  • Date: Thu, 11 Nov 2004 21:32:36 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=AZyFDMb5O38LVHfmiRaBNxYJJq+sOFPp0d1Ulhj9xkXmtoTWrTpd/dK5p/66NBBGtXbWg29Pb6iR6XzEr+/xXEKdkZyNqunrTODZ3vrXkKBa3gThgCYS4KyV81axMvJrmI5q1DFAoVOihqdVb6aEmQCWZobDz3RYrxx2E9FPg2Q=
  • Reply-to: Adam Souzis <adamsz@xxxxxxxxx>


  • Hi,

    I'm trying to run mod-xslt 1.3.7 (the 2004101700 tarball) on apache2
    on Gentoo Linux release 2004.2 but I can't see to get XSLTAddRule and
    XSLTSetStylesheet to work correctly:

    * If I use XSLTSetStylesheet the default stylesheet is always invoked
    regardless of whether the requested xml file has a <?xml-stylesheet>
    PI or not.
    * 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
    Is there any way to log how mod-xslt is trying to figure out which
    stylesheets to apply?

    Also it took me some effort to get mod_xslt installed and running;
    these are the problems I ran into:

    1. gentoo places apxs2 in /usr/sbin but the APXS1 and APXS2 variables
    doesn't include sbin
    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)
    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"

    And while I'm writing this, let me ask if there are plans to implement
    caching?

    thank you,
    adam

      Powered by Sympa