use XML::XSLT; my $simple_xsl = qq~ ~; my $source = new XML::XSLT($simple_xsl); print "XSL string parsed!\n"; my $source1 = new XML::XSLT('Data/verysimple.xml'); print "XSL file parsed!\n";