I am new to AxKit, and the first XSL stylesheet I threw at it is exploding, evidently because of my use of the following EXSLT functions: set:distinct, date:seconds, and date:date. This is on a debian/x86 (stable) system using AxKit 1.5 from the normal debian packages. I upgraded the libxml2 and libxslt1 by hand to the 'unstable' versions to see if that would make any difference, but no joy.
I am attempting to use the LibXSLT.pm to do the XSL transforms. The stylesheet works if I use 'xsltproc' directly, but I get the following errors from AxKit: [warn] [client 192.168.0.1] [AxKit] about to execute: Apache::AxKit::Language::LibXSLT::handler [warn] [client 192.168.0.1] [AxKit] [LibXSLT] getting the XML [warn] [client 192.168.0.1] [AxKit] [LibXSLT] parsing stylesheet [warn] [client 192.168.0.1] [AxKit] [LibXSLT] parsing stylesheet /misc/movies.xsl [warn] [client 192.168.0.1] [AxKit] [LibXSLT] performing transformation xmlXPathCompOpEval: function distinct not found Error Unregistered function xmlXPathCompOpEval: function distinct not found Error Unregistered function [warn] [client 192.168.0.1] [AxKit] execution of: Apache::AxKit::Language::LibXSLT::handler finished I am providing the extension-element-prefixes in the xsl:stylesheet declaration: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="set date" version="1.0"> Anybody know what is going on? Someone was having what looks like similar problems when using xsl:import instead of xsl:include (http://lists.fourthought.com/pipermail/exslt/2002-March/000403.html). I'm not familiar enough with the libxslt API (or its perl variant) to tell if this is the problem in .../Apache/AxKit/Language/LibXSLT.pm or not. Thanks. I can provide the full XSL stylesheet if anyone is interested, but the call to set:distinct() looks like: <xsl:for-each select="set:distinct(//genre)"> <xsl:sort select="text()"/> <xsl:call-template name="single-genre"> <xsl:with-param name="genre" select="text()"/> </xsl:call-template> </xsl:for-each> -bp -- Ceterum censeo vi esse delendam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
