On 24/01/2013 13:58, Philippe.Favrais@continental-corporation.com wrote:
Thank you Christophe,
Yes, it didn't work because the node of $contextSparc was not named as the value of the parameter.

Now it works but i have an additional question, how should i do so that in the parameter contextSparc i get the nodeset and not the atomic value.
In fact, I would like to be able to do someting like <xsl:copy-of select="$contextSparc/what"/>

Thank you

Unfortunately the current interface for saxon:transform() only allows atomic values to be passed as the values of the parameters. Now that maps are available, it makes sense to allow the parameters to be passed as a map, allowing any kind of value.

Michael Kay