You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by ma...@sergeant.org on 2006/08/04 22:50:52 UTC
[SVN] [38] Make gallery work from any docroot
Revision: 38
Author: matt
Date: 2006-08-04 20:50:26 +0000 (Fri, 04 Aug 2006)
Log Message:
-----------
Make gallery work from any docroot
Modified Paths:
--------------
trunk/plugins/demo/gallery
Modified: trunk/plugins/demo/gallery
===================================================================
--- trunk/plugins/demo/gallery 2006-08-04 16:37:37 UTC (rev 37)
+++ trunk/plugins/demo/gallery 2006-08-04 20:50:26 UTC (rev 38)
@@ -388,7 +388,9 @@
$image_node->appendWellBalancedChunk($rdf);
}
- my $out = $input->transform(XSLT('demo/gallery/stylesheets/imagesheet2html.xsl'));
+ my $out = $input->transform(
+ XSLT($self->config->docroot . '/stylesheets/imagesheet2html.xsl')
+ );
return OK, $out;
}
@@ -414,7 +416,7 @@
}
my $out = $input->transform(
- XSLT("demo/gallery/stylesheets/filelist2proofsheet.xsl")
+ XSLT($self->config->docroot . "/stylesheets/filelist2proofsheet.xsl")
);
$dom = $out->dom;
@@ -520,7 +522,9 @@
sub { my $epoch = shift; my @p=gmtime($epoch); $p[4]++; $p[5]+=1900; return
"$p[5]-$p[4]-$p[3]"; });
- $out = $out->transform(XSLT('demo/gallery/stylesheets/proofsheet2html.xsl'));
+ $out = $out->transform(
+ XSLT($self->config->docroot . '/stylesheets/proofsheet2html.xsl')
+ );
return OK, $out;
}
\ No newline at end of file