From:
dean.l.chang [at] verizon.com
Date:
Wed, 2 Oct 2002 16:14:54 -0700
To:
axkit-users [at] axkit.org
Subject:
simpletaglib basic question
Hi, I'm rather new to axkit, and have some perl/xml experience. I've seen
the many examples of using taglibs, including Matt Sargeant's example:
package AxKit::XSP::DateTime;
use strict;
use Apache::Axkit::Language::XSP::SimpleTaglib;
$VERSION=0.90;
$NS='http://axkit.org/xsp/demo/datetime';
sub now {
return localtime->strftime("%I:%M%P on %A %e %B, %Y");
}
package AxKit::XSP::Datetime::Handlers;
sub now: expr {
return 'AxKit::XSP::Datetime::now();';
}
1
I understand how to layout the index.xsp page and add the processor
directive for xsl2html.xsl transformation, but where should the above code
be placed? Is there a specific file this perl taglib code needs to be in?
Should it be included in the xsl document, if so how? Basically, I'm
getting 500 server errors and in the apache log it says something like
Apache::AxKit::Language::XSP::SimpleTaglib 'cannot find function' or
something similiar to that. Thanks folks.
"In God we Trust, all others bring data."
deanc
simpletaglib basic question - dean.l.chang.verizon.com on 2 Oct 2002 23:24:27 -0000
Re: simpletaglib basic question - J[246]rg Walter on 3 Oct 2002 13:03:40 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index