title: how to add a param to xslt with xslt-ruby?
body: <p>the title states it, essentially what is wrong here? I keep getting nothingness the param isnt getting passed...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&gt;
  
    &lt;xsl:param name="stylesheet"/&gt;
  
    &lt;xsl:template match="/"&gt;
      &lt;xsl:copy-of select="$stylesheet"/&gt;
    &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>and heres the ruby code </p>
  
  <pre><code>require "rubygems"
  
  require 'xml'
  require 'libxml'
  require 'libxslt'
  
  xsltdoc = XML::Document.file("main.xslt")
  xslt = LibXSLT::XSLT::Stylesheet.new(xsltdoc)
  
  xml = XML::Document.file("file.xml")
  result = xslt.apply(xml, {:stylesheet =&gt; "style.css"})
  puts(result)
  </code></pre>