On Mon, 2004-03-01 at 02:08, Richard Leopold wrote: > > It's the XML-LibXML project on axkit.org's CVS. See the page on the > > axkit.org website for access details. > > I already found it ;) Seems my problem is fixed. Thanks for your work
Think I was too premature ... I took the new source tarballs of XML::LibXSLT (1.57) and XML::LibXML (1.57) from the CPAN. The Axkit version is a CVS snapshot from 2004-03-04 ... I've prepared a small test to show you my problem. (request) --> test.meta.xml --> [XSLT (document.xsl)] --> ?? ^ dokument('axkit:test.pass') test.pass --> [XSLT (passthru.xsl)] ----´ So I try inside an stylesheet to load a xml-document via document() adressed by the axkit_uri, but I get an exception: axkit:/content/test.pass:1: at /usr/lib/perl5/Apache/AxKit/Language/LibXSLT.pm line 123. directly after 'get_axkit_uri returning (dom): ... ' If I only load the file, all works fine ! Maybe it's an sideeffect of XML::LibXML in an Axkit enviroment ?! OR I not really understand the axkit_uri mechanism ... - Richard the involved files: -- http.conf START -- Listen 127.0.0.4:80 PerlModule AxKit <VirtualHost 127.0.0.4:80> ServerName test DocumentRoot /var/www/axtest ServerAdmin [EMAIL PROTECTED] DirectoryIndex index.xml AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT AxErrorStylesheet text/xsl /stylesheets/error.xsl AxTraceIntermediate /tmp/ AxDebugLevel 10 AxLogDeclines On AxStackTrace On AxNoCache On <Files "*\.meta\.xml*"> AxAddProcessor text/xsl /stylesheets/document.xml SetHandler AxKit </Files> <Files "*\.pass"> AxAddProcessor text/xsl /stylesheets/passthru.xsl SetHandler AxKit </Files> AddCharset UTF-8 .xml </VirtualHost> -- http.conf END -- -- passthru.xsl START -- <?xml version="1.0" encoding="ISO-8859-1" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/" > <xsl:copy-of select="." /> </xsl:template> </xsl:stylesheet> -- passthru.xsl END -- -- document.xsl START -- <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="webpage"> <xsl:variable name="moi.content.dbk" select="document(concat('axkit:','/content/test.pass'))" /> <x/> </xsl:template> </xsl:stylesheet> -- document.xsl END -- -- test.pass START -- <?xml version="1.0" encoding="ISO-8859-1"?> <content /> -- test.pass END --> -- test.meta.xml START -- <?xml version="1.0" encoding="ISO-8859-1"?> <webpage /> -- test.meta.xml END --> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]