I am using Saxon 9 HE and in NetBeans 7.0.1, I get the following error when I try to send a parameter to my stylesheet:

Just to make sure, is that the good way to send a parameter so I can get it back with
<xsl:param ... /> ?
If so, how can I use it?
Thank you!
From the message it seems quite obvious that you need to pass an
net.sf.saxon.s9api.Qnameas the first argument (not just the string"myVar").And the second argument must be constructed as an
net.sf.saxon.s9api.XdmValue.In your XSLT stylesheets (the primary one and any stylesheet module that is referenced in an
xsl:importor anxsl:includedirective) you must have a global (child ofxsl:stylesheet)xsl:paramwith the same name as the string used to construct theQnamethat you are passing as the first argument tosetParameter().When the
setParameter()method is executed and then the transformation is invoked, the corresponding globalxsl:paramwill have the value that was used to construct theXdmValuepassed as the second argument tosetParameter().