Ah ha! Here's how you fix this problem (for now):
In wiki.xsl, you'll need to specify an xml:base for your
stylesheets, like this:
<?xml version="1.0"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xml:base="file:///home/www/htdocs/style/wiki/"
>
...
<xsl:include href="pod.xsl"/>
...
</xsl:stylesheet>
I also found that the trailing slash in the xml:base attribute
seems to matter. I think this entire bug will be fixed in the
next AxKit -- http://rt.cpan.org/NoAuth/Bug.html?id=4518
On 09.Dec.2003 10:24PM -0500, Streph Treadway wrote:
> I have continued trying to make my wiki work without success.
> I am seeing another error now:
>
> [Tue Dec 9 22:15:30 2003] [warn] [client 192.168.0.8] [AxKit] [LibXSLT]
> parsing stylesheet
> [Tue Dec 9 22:15:30 2003] [warn] [client 192.168.0.8] [AxKit] [LibXSLT]
> parsing stylesheet /wiki.xsl
> compilation error: file /wiki.xsl element include
> xsl:include : unable to load /pod.xsl
> compilation error: file /wiki.xsl element include
> xsl:include : unable to load /wikitext.xsl
> compilation error: file /wiki.xsl element include
> xsl:include : unable to load /docbook.xsl
> compilation error: file /wiki.xsl element include
> xsl:include : unable to load /sidemenu.xsl
> [Tue Dec 9 22:15:30 2003] [warn] [client 192.168.0.8] [AxKit] [LibXSLT]
> performing transformation
> [Tue Dec 9 22:15:30 2003] [warn] [client 192.168.0.8] [AxKit] Caught an
> exception
> [Tue Dec 9 22:15:31 2003] [error] [client 192.168.0.8] [AxKit] [Error]
> Can't call method "transform" on an undefined value at
> /usr/lib/perl5/Apache/AxKit/Language/LibXSLT.pm line 124.
>
> I don't quite see why I would be unable to load all of the
> stylesheets. And I must confess to being mystified. As
> always, I welcome any suggestions.
--
Ian Langworth
Project Guerrilla
Northeastern University
College of Computer and Information Science
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]