Re: [xslt] libxslt fails, xsltproc works



On Fri, Oct 10, 2008 at 01:05:57PM +0100, Sam Liddicott wrote:
> I've combined the library into the main xslt file - same problem;
> further the top of the xslt file is:
> <xsl:transform version="1.0"
>     xmlns="http://www.w3.org/1999/xhtml";
>     xmlns:xhtml="http://www.w3.org/1999/xhtml";
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>     xmlns:date="http://exslt.org/dates-and-times";
>     xmlns:str="http://exslt.org/strings";
>     xmlns:func="http://exslt.org/functions";
>     extension-element-prefixes="func date str"
> >
> 
> and has the correct extension-element-prefixes entry

  You certainly forgot to link -lexslt and call the proper EXSLT
initialization, see xsltproc.c to see how it's done,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]