Commits

Shlomi Fish committed 7242a83

Pass the XSLT parameters.

  • Participants
  • Parent commits 00a23d2

Comments (0)

Files changed (2)

File XML-Grammar-Fortune/module/Build.PL

         'warnings' => 0,
         'XML::LibXML' => '2.0014',
         'XML::LibXSLT' => 0,
-        'XML::GrammarBase::Role::RelaxNG' => 0,
+        'XML::GrammarBase::Role::RelaxNG' => '0.2.0',
+        'XML::GrammarBase::Role::XSLT' => '0.2.0',
         'MooX' => 0,
         'MooX::late' => 0,
     },

File XML-Grammar-Fortune/module/lib/XML/Grammar/Fortune.pm

 use MooX qw/late/;
 
 use XML::GrammarBase::Role::RelaxNG;
-use XML::GrammarBase::Role::XSLT;
+use XML::GrammarBase::Role::XSLT v0.2.0;
 
 with ('XML::GrammarBase::Role::RelaxNG');
 with XSLT(output_format => 'html');
                     source => {file => $input},
                     output => $medium,
                     encoding => $encoding,
+                    xslt_params => $xslt_params,
                 }
             );
         };