I could do this in much simpler manners, but I thought I would
try getting a multi-stage pipeline working.
So, I have a directory /sitelists/sites which contains a .xml
file for each sitelisting
I have a wrapper .xml file called /sitelists2.xml which is very simple:
<sitelist>
</sitelist>
And a .xps file which is just as simple
<%
my $sites = `cat sites/*.xml`;
$t->{sitelist}{pre} = "<sitelist>$sites</sitelist>";
%>
<%= apply_templates('/sitelist") %>
And I thought the following directive would associate
sitelist2.xps with all xml files in this directory, but it isn't
working
<Directory /sitelist>
AxAddProcessor application/x-pathscript /sitelist/sitelist2.xps
</Directory>
here is the error log:
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
get_styles: callin\
g
XML::Parser->parse('/sw/share/httpd/htdocs/axkit.org/sitelist/sitelist2.xml'
)
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
get_styles: parse \
returned successfully
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
Calling GetMatchin\
gProcessors with (screen, , , , sitelist)
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
Caught an exceptio\
n
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
[DECLINED] No styl\
es defined for '/sw/share/httpd/htdocs/axkit.org/sitelist/sitelist2.xml'
[Sun Feb 3 07:26:48 2002] [warn] [client 127.0.0.1] [AxKit]
[DECLINED] From: /\
Users/metaperl/install/lib/site_perl/5.7.2/Error.pm : 148
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]