diff options
Diffstat (limited to 'lib/WebCoso/Maker/XHTML.pm')
-rw-r--r-- | lib/WebCoso/Maker/XHTML.pm | 5 |
1 files changed, 3 insertions, 2 deletions
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); } } |