From 99f8ccd6cddc6fa9a021d4118e6a706a19e474b1 Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 10 Sep 2015 15:46:11 +0100 Subject: maybe I got deps working I'd still like to make the whole thing more readable, though --- lib/WebCoso/Maker/XHTML.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/WebCoso/Maker/XHTML.pm') diff --git a/lib/WebCoso/Maker/XHTML.pm b/lib/WebCoso/Maker/XHTML.pm index c2b1d9e..ea50ec5 100644 --- a/lib/WebCoso/Maker/XHTML.pm +++ b/lib/WebCoso/Maker/XHTML.pm @@ -1,7 +1,8 @@ # -*- mode: perl6 -*- use WebCoso::Maker; class WebCoso::Maker::XHTML does WebCoso::Maker['du.xml','xhtml'] { - method process-contents(:src($du),:@deps) { - return "{$du} converted"; + method process-contents($du) { + my $stylesheet = $.get-file('du2xhtml.xsl'); + return ("{$du.contents} converted",$stylesheet); } } -- cgit v1.2.3