Without an example script I can't be sure (hint, hint), but I think I know what the issue is here.
Please try quoting the parameters passed to transform(). Either of the following would work:
xslt.transform(doc, Nokogiri::XSLT.quote_params(['foo', 'bar']))
or
xslt.transform(doc, Nokogiri::XSLT.quote_params('foo' => 'bar'))
I've added a new test case to master demonstrating that this is the way to call it:
Cheers.
--
mike dalessio
mi...@csa.net